From aaa0fe02fdc21d72b809042dfb8c638781c18de0 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 16 Sep 2023 19:37:58 +0000 Subject: [PATCH] apply black & isort --- resources.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/resources.py b/resources.py index 90f48d7..3e9f12b 100644 --- a/resources.py +++ b/resources.py @@ -1,7 +1,13 @@ import pickle from collections import Counter -serverResources = {'quela': {'Food': '-1068', 'Wood': '449', 'Gold': '-826', 'Stone': '12'}, 'bshammer': {'Food': '-1250', 'Wood': '-1173', 'Gold': '-850', 'Stone': '1942'}, 'probablybutter': {'Food': '295', 'Wood': '-2024', 'Gold': '-1006', 'Stone': '-2044'}, 'olaf_the_shrew': {'Food': '323', 'Wood': '0', 'Gold': '0', 'Stone': '0'}, '.harristotle': {'Food': '-2241', 'Wood': '560', 'Gold': '-986', 'Stone': '-706'}} +serverResources = { + "quela": {"Food": "-1068", "Wood": "449", "Gold": "-826", "Stone": "12"}, + "bshammer": {"Food": "-1250", "Wood": "-1173", "Gold": "-850", "Stone": "1942"}, + "probablybutter": {"Food": "295", "Wood": "-2024", "Gold": "-1006", "Stone": "-2044"}, + "olaf_the_shrew": {"Food": "323", "Wood": "0", "Gold": "0", "Stone": "0"}, + ".harristotle": {"Food": "-2241", "Wood": "560", "Gold": "-986", "Stone": "-706"}, +} try: with open("gizmoResources", "rb") as f: gizmoResources = pickle.load(f)