From 7a3cf895c9ca26669b1ff5c01879f3ab2a79005f Mon Sep 17 00:00:00 2001 From: brokentechie Date: Mon, 3 May 2021 09:05:07 +0100 Subject: [PATCH] Fix set backup location from backup menu. From menu item "Maintenance>Backup/Restore>Backup Location" the open settings function throws an error. This commit fixes the function to open the settings, but still does not go to the correct settings menu item. --- resources/libs/common/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/libs/common/config.py b/resources/libs/common/config.py index 5fd974ff..db5c5e7c 100644 --- a/resources/libs/common/config.py +++ b/resources/libs/common/config.py @@ -294,7 +294,7 @@ def set_setting(self, key, value, id=xbmcaddon.Addon().getAddonInfo('id')): def open_settings(self, id=None, cat=None, set=None, activate=False): offset = [(100, 200), (-100, -80)] - if not id: + if id is not None: id = self.ADDON_ID try: