Bugfix gdrive

Still open: gdrive.db entries aren't cleared upon change, gdrive.db is only working after restart if just enabled
This commit is contained in:
OzzieIsaacs
2018-07-09 20:30:38 +02:00
parent 404b29b979
commit 413b10c58e
2 changed files with 7 additions and 3 deletions
+1 -2
View File
@@ -2538,8 +2538,7 @@ def configuration_helper(origin):
gdrive=gdrive_support, gdriveError=gdriveError,
goodreads=goodreads_support, title=_(u"Basic Configuration"))
# always show google drive settings, but in case of error deny support
if (("config_use_google_drive" in to_save and not content.config_use_google_drive) or
("config_use_google_drive" not in to_save and content.config_use_google_drive)) and not gdriveError:
if "config_use_google_drive" in to_save and not gdriveError:
content.config_use_google_drive = "config_use_google_drive" in to_save
else:
content.config_use_google_drive = 0