mirror of
https://gitlab.com/oloturia/fumcaso.git
synced 2025-01-06 21:47:17 +01:00
fixed a bug that caused crashes on Telegram Bot
This commit is contained in:
parent
8bd39db587
commit
2d42453d45
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ def readConfig(profile=False,platform=False):
|
|||
checkProfile = config[profile]
|
||||
except KeyError:
|
||||
print("Profile "+profile+" not found")
|
||||
quit()
|
||||
profile = config["defaultProfile"]
|
||||
saveLocation = checkLocal(config[profile]["saveLocation"])
|
||||
imagesLocation = checkLocal(config[profile]["imagesLocation"])
|
||||
csvLocation = checkLocal(config[profile]["csvLocation"])
|
||||
|
|
Loading…
Reference in a new issue