fix #56
3
main.py
3
main.py
@ -104,7 +104,8 @@ def update_host(host: str) -> str | None:
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
||||||
while True:
|
if __name__ == "__main__":
|
||||||
|
while True:
|
||||||
now = datetime.datetime.now()
|
now = datetime.datetime.now()
|
||||||
mongo_hosts = mongo.hosts
|
mongo_hosts = mongo.hosts
|
||||||
hosts = get_hosts()
|
hosts = get_hosts()
|
||||||
|
Loading…
Reference in New Issue
Block a user