From db17477f7cc450fc87b9bce19fecd5f0b5dbf4b6 Mon Sep 17 00:00:00 2001 From: MrS0m30n3 Date: Sun, 14 Jan 2018 21:41:51 +0200 Subject: [PATCH] Use patched os.path.exists from utils.py Related to commit: f21d2491ec12352ff20878951e3121018ca3ab4a --- youtube_dl_gui/optionsmanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl_gui/optionsmanager.py b/youtube_dl_gui/optionsmanager.py index 23ef30a..fc354e4 100644 --- a/youtube_dl_gui/optionsmanager.py +++ b/youtube_dl_gui/optionsmanager.py @@ -306,7 +306,7 @@ class OptionsManager(object): # Set the youtubedl_path again if the disable_update option is set new_path = '/usr/bin' - if self.options['disable_update'] and os.name != 'nt' and os.path.exists(new_path): + if self.options['disable_update'] and os.name != 'nt' and os_path_exists(new_path): self.options['youtubedl_path'] = new_path def load_from_file(self):