mirror of
https://github.com/cooperhammond/irs.git
synced 2024-12-22 17:35:28 +00:00
init
This commit is contained in:
parent
0b03127786
commit
6df80a2eeb
|
@ -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):
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue