Skip to content

Commit

Permalink
Fixed error occuring when GraXpert was started without internet conne…
Browse files Browse the repository at this point in the history
…ction
  • Loading branch information
Steffenhir committed Nov 22, 2023
1 parent 77fe706 commit 5cb3170
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion graxpert/help_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,9 @@ def scaling_change():
remote_versions = list_remote_versions()
local_versions = list_local_versions()
ai_options = set([])
ai_options.update([rv["version"] for rv in remote_versions])

if (remote_versions is not None):
ai_options.update([rv["version"] for rv in remote_versions])
ai_options.update(set([lv["version"] for lv in local_versions]))
ai_options = sorted(ai_options, key=lambda k: version.parse(k), reverse=True)

Expand Down

0 comments on commit 5cb3170

Please sign in to comment.