Browse Source

Disable automatic check for youtube-dl when disable_update is set

master
MrS0m30n3 5 years ago
parent
commit
32ebbbec99
  1. 3
      youtube_dl_gui/downloadmanager.py

3
youtube_dl_gui/downloadmanager.py

@ -396,7 +396,8 @@ class DownloadManager(Thread):
return self._time_it_took
def run(self):
self._check_youtubedl()
if not self.opt_manager.options["disable_update"]:
self._check_youtubedl()
self._time_it_took = time.time()
while self._running:

Loading…
Cancel
Save