Add insurance policy

pull/444/head
Ivan Habunek 2023-12-12 10:11:36 +01:00
rodzic c7e01c77f2
commit a0caa88ffe
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: F5F0623FF5EBCB3D
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -39,6 +39,10 @@ def make_config(path):
def load_config():
# Just to prevent accidentally running tests on production
if os.environ.get("TOOT_TESTING"):
raise Exception("Tests should not access the config file!")
path = get_config_file_path()
if not os.path.exists(path):