Skip to content
This repository has been archived by the owner on Sep 28, 2021. It is now read-only.

Commit

Permalink
fix: no tkinter on servers #88
Browse files Browse the repository at this point in the history
(temporary) move import for gui elements
  • Loading branch information
sibalzer committed Jun 9, 2021
2 parents ae08f38 + 96d4ae3 commit 4d97f5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/impfbot.py
Expand Up @@ -5,7 +5,6 @@
from alerts import alert
from api_wrapper import fetch_api, ShadowBanException, RequestConnectionError
from common import sleep, sleep_until, is_night, datetime2timestamp, YES, NO
from config_generator import start_config_generation
from log import log
from settings import load, settings, ParseExeption

Expand Down Expand Up @@ -86,6 +85,7 @@ def check_for_slot() -> None:
print("Do you want to use the interface to generate a config? yes/no")
result = input()
if result in YES:
from config_generator import start_config_generation
log.info("Starting config generator")
start_config_generation()
break
Expand Down

0 comments on commit 4d97f5d

Please sign in to comment.