Browse Source

Add option to disable update

doc-issue-template
MrS0m30n3 6 years ago
parent
commit
a4472c0ded
1 changed files with 4 additions and 1 deletions
  1. 5
      youtube_dl_gui/optionsmanager.py

5
youtube_dl_gui/optionsmanager.py

@ -232,6 +232,8 @@ class OptionsManager(object):
add_metadata (boolean): When True will write metadata to file. add_metadata (boolean): When True will write metadata to file.
disable_update (boolean): When True the update process will be disabled.
""" """
#REFACTOR Remove old options & check options validation #REFACTOR Remove old options & check options validation
self.options = { self.options = {
@ -297,7 +299,8 @@ class OptionsManager(object):
'confirm_deletion': True, 'confirm_deletion': True,
'nomtime': False, 'nomtime': False,
'embed_thumbnail': False, 'embed_thumbnail': False,
'add_metadata': False
'add_metadata': False,
'disable_update': False
} }
def load_from_file(self): def load_from_file(self):

Loading…
Cancel
Save