1
0
Fork 0
mirror of https://gitlab.com/oloturia/fumcaso.git synced 2025-01-08 22: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] checkProfile = config[profile]
except KeyError: except KeyError:
print("Profile "+profile+" not found") print("Profile "+profile+" not found")
quit() profile = config["defaultProfile"]
saveLocation = checkLocal(config[profile]["saveLocation"]) saveLocation = checkLocal(config[profile]["saveLocation"])
imagesLocation = checkLocal(config[profile]["imagesLocation"]) imagesLocation = checkLocal(config[profile]["imagesLocation"])
csvLocation = checkLocal(config[profile]["csvLocation"]) csvLocation = checkLocal(config[profile]["csvLocation"])