Use patched os.path.exists from utils.py

Related to commit: f21d2491ec
master
MrS0m30n3 2018-01-14 21:41:51 +02:00
parent a3920dcaa0
commit db17477f7c
1 changed files with 1 additions and 1 deletions

View File

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