From 32ebbbec99ad10707d4b13892d6975b13e51e513 Mon Sep 17 00:00:00 2001 From: MrS0m30n3 Date: Sun, 14 Jan 2018 16:18:52 +0200 Subject: [PATCH] Disable automatic check for youtube-dl when disable_update is set --- youtube_dl_gui/downloadmanager.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/youtube_dl_gui/downloadmanager.py b/youtube_dl_gui/downloadmanager.py index e3c5643..a344829 100644 --- a/youtube_dl_gui/downloadmanager.py +++ b/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: