I'm just a clown, I didn't update...

This commit is contained in:
piair 2024-02-28 11:15:09 +01:00
parent aaafbb2257
commit 19606e5f4c
2 changed files with 1 additions and 6 deletions

5
V6.py
View File

@ -756,20 +756,15 @@ def log_error(msg):
def check_updated(): def check_updated():
warning('foo')
debug(f"updated: {config.has_been_updated()}") debug(f"updated: {config.has_been_updated()}")
warning('bar')
if config.has_been_updated(): if config.has_been_updated():
warning('baz')
config.discord.wh.send(f"Updated to {config.version}", username="update", config.discord.wh.send(f"Updated to {config.version}", username="update",
avatar_url="https://cdn-icons-png.flaticon.com/512/1688/1688988.png") avatar_url="https://cdn-icons-png.flaticon.com/512/1688/1688988.png")
if __name__ == "__main__": if __name__ == "__main__":
config = Config(args) config = Config(args)
warning('here')
check_updated() check_updated()
warning('there')
match config.start: match config.start:
case "json": case "json":
json_start(config.json_entry, config.UserCredentials) json_start(config.json_entry, config.UserCredentials)

View File

@ -1 +1 @@
v6.8.25 v6.8.26