diff --git a/server.py b/server.py index d351000..b2ef5fa 100755 --- a/server.py +++ b/server.py @@ -374,7 +374,8 @@ def index(): f.close() except: place_settings = {"feature": "Place", "speed": "medium", "speed2": "medium", "animation": "up", "title": True, "width": "128", "pause": "0", "places": ["r/place 2017", "r/place 2022"]} - + with open('csv/place_settings.json', 'w') as f: + json.dump(place_settings, f) try: f = open('csv/market_settings.json', 'r') market_settings = json.load(f)