Browse Source

Use patched os.path.exists from utils.py

Related to commit: f21d2491ec
doc-issue-template
MrS0m30n3 6 years ago
parent
commit
db17477f7c
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl_gui/optionsmanager.py

2
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):

Loading…
Cancel
Save