parent
d36b6b1beb
commit
23ea19017f
2
Gui.py
2
Gui.py
|
@ -457,7 +457,7 @@ class SpriteSelector(object):
|
||||||
try:
|
try:
|
||||||
task.update_status("Downloading official sprites list")
|
task.update_status("Downloading official sprites list")
|
||||||
with urlopen('http://vt.alttp.run/sprites') as response:
|
with urlopen('http://vt.alttp.run/sprites') as response:
|
||||||
sprites_arr = json.load(response)
|
sprites_arr = json.loads(response.read().decode("utf-8"))
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
resultmessage = "Error getting list of official sprites. Sprites not updated.\n\n%s: %s" % (type(e).__name__, e)
|
resultmessage = "Error getting list of official sprites. Sprites not updated.\n\n%s: %s" % (type(e).__name__, e)
|
||||||
successful = False
|
successful = False
|
||||||
|
|
|
@ -109,6 +109,7 @@ class ToolTips(object):
|
||||||
window = None
|
window = None
|
||||||
active = 0
|
active = 0
|
||||||
tag = None
|
tag = None
|
||||||
|
after_id = None
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def getcontroller(cls, widget):
|
def getcontroller(cls, widget):
|
||||||
|
|
Loading…
Reference in New Issue