some debug don't work at all ?
This commit is contained in:
parent
8d332f1c3c
commit
aaafbb2257
6
V6.py
6
V6.py
@ -756,16 +756,20 @@ 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)
|
||||||
|
Loading…
Reference in New Issue
Block a user