This commit is contained in:
Kepoor Hampond 2017-10-03 03:34:40 -07:00
parent 0b03127786
commit 6df80a2eeb
2 changed files with 6 additions and 3 deletions

View file

@ -6,8 +6,8 @@ import irs
def setup():
ydl_binaries.download_ffmpeg("~/.irs/bin/")
ydl_binaries.update_ydl("~/.irs/bin/")
# ydl_binaries.download_ffmpeg("~/.irs/bin/")
# ydl_binaries.update_ydl("~/.irs/bin/")
config_file = os.path.expanduser("~/.irs/config_.py")
if not os.path.isfile(config_file):

View file

@ -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):