diff --git a/irs/utils.py b/irs/utils.py index 61b43a3..32830fa 100644 --- a/irs/utils.py +++ b/irs/utils.py @@ -204,7 +204,10 @@ class DLog: # =========================================== # (It's for the CLI) -COLS = int(os.popen('tput cols').read().strip("\n")) +try: + COLS = int(os.popen('tput cols').read().strip("\n")) +except: + COLS = 80 if sys.version_info[0] == 2: def input(string): diff --git a/setup.py b/setup.py index 354c34c..cfcdc11 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup setup( name = 'irs', - version = '6.7.4', + version = '6.7.6', description = 'A music downloader that just gets metadata.', url = 'https://github.com/kepoorhampond/irs', author = 'Kepoor Hampond',