Skip to content

Commit

Permalink
updates.py: generic variable name in get_json
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Leonard <[email protected]>
  • Loading branch information
antonlacon committed Jun 4, 2022
1 parent 7c33ded commit 0a97171
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/lib/modules/updates.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 0a97171

Please sign in to comment.