Don't need to gen Crystals options anymore

It's been transliterated into the JSON instead
This commit is contained in:
Mike A. Trethewey
2020-02-17 00:05:05 -08:00
parent 2b68d7c74e
commit 9de01fbdb5

View File

@@ -22,10 +22,6 @@ def item_page(parent):
leftItemFrame.pack(side=LEFT)
rightItemFrame.pack(side=RIGHT)
keys = [*map(str,range(0,7+1)),"Random"]
vals = [*map(str,range(0,7+1)),"random"]
crystalsOptions = {keys[i]: vals[i] for i in range(len(keys))}
with open(os.path.join("resources","app","gui","randomize","item","leftItemFrame.json")) as leftItemFrameItems:
myDict = json.load(leftItemFrameItems)
dictWidgets = widgets.make_widgets_from_dict(self, myDict, leftItemFrame)