mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-26 05:05:54 +01:00
Squelch git not found exception (#973)
This commit is contained in:
parent
deacef651f
commit
8dba13f7e8
@ -591,7 +591,7 @@ def _real_main(argv=None):
|
|||||||
if re.match('[0-9a-f]+', out):
|
if re.match('[0-9a-f]+', out):
|
||||||
ydl.to_screen(u'[debug] Git HEAD: ' + out)
|
ydl.to_screen(u'[debug] Git HEAD: ' + out)
|
||||||
except:
|
except:
|
||||||
pass
|
sys.exc_clear()
|
||||||
ydl.to_screen(u'[debug] Python version %s - %s' %(platform.python_version(), platform.platform()))
|
ydl.to_screen(u'[debug] Python version %s - %s' %(platform.python_version(), platform.platform()))
|
||||||
ydl.to_screen(u'[debug] Proxy map: ' + str(proxy_handler.proxies))
|
ydl.to_screen(u'[debug] Proxy map: ' + str(proxy_handler.proxies))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user