diff --git a/resources/lib/modules/updates.py b/resources/lib/modules/updates.py index 467306604..35fd22cca 100644 --- a/resources/lib/modules/updates.py +++ b/resources/lib/modules/updates.py @@ -415,10 +415,10 @@ def get_json(self, url=None): url = f'{url}/releases.json' data = oe.load_url(url) if not data is None: - update_json = json.loads(data) + json_data = json.loads(data) else: - update_json = None - return update_json + json_data = None + return json_data @log.log_function() def build_json(self, notify_error=False):