From dd5afe2b16cf6f5acb8f3345617a7aa9d8b01c57 Mon Sep 17 00:00:00 2001 From: Igor Tolmachov Date: Sat, 9 Jul 2022 12:49:14 +0900 Subject: Фикс бага MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shared/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shared') diff --git a/shared/config.py b/shared/config.py index d04a510..4c64220 100644 --- a/shared/config.py +++ b/shared/config.py @@ -4,7 +4,7 @@ from os import environ as env from os import path from typing import Any -if path.exists("data/settings.json"): +if not path.exists("data/settings.json"): open("data/settings.json", "w").close() fields: dict[str, Any] = { "chances": {}, -- cgit v1.2.3