Skip to content

Commit

Permalink
Add-on updates: initialize no updates set if not present in add-on ha…
Browse files Browse the repository at this point in the history
…ndler state. Re nvaccess#3208
  • Loading branch information
josephsl committed Dec 6, 2018
1 parent b97258e commit b084125
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/addonHandler/__init__.py
Expand Up @@ -64,6 +64,8 @@ def loadState():
state["pendingDisableSet"] = set()
if "pendingEnableSet" not in state:
state["pendingEnableSet"] = set()
if "noUpdates" not in state:
state["noUpdates"] = set()
except:
# Defaults.
state = {
Expand Down

0 comments on commit b084125

Please sign in to comment.