1
0
Fork 0
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:
Oloturia 2022-04-15 13:02:49 +02:00
parent 8bd39db587
commit 2d42453d45

View file

@ -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"])