I'm just a clown, I didn't update...
This commit is contained in:
parent
aaafbb2257
commit
19606e5f4c
5
V6.py
5
V6.py
|
@ -756,20 +756,15 @@ def log_error(msg):
|
|||
|
||||
|
||||
def check_updated():
|
||||
warning('foo')
|
||||
debug(f"updated: {config.has_been_updated()}")
|
||||
warning('bar')
|
||||
if config.has_been_updated():
|
||||
warning('baz')
|
||||
config.discord.wh.send(f"Updated to {config.version}", username="update",
|
||||
avatar_url="https://cdn-icons-png.flaticon.com/512/1688/1688988.png")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
config = Config(args)
|
||||
warning('here')
|
||||
check_updated()
|
||||
warning('there')
|
||||
match config.start:
|
||||
case "json":
|
||||
json_start(config.json_entry, config.UserCredentials)
|
||||
|
|
Loading…
Reference in New Issue