Merge pull request 'fix' (#56) from master into dev
Reviewed-on: https://gitea.sprinthub.ru/self/certupdater/pulls/56
This commit was merged in pull request #56.
This commit is contained in:
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()
|
||||||
|
|||||||
Reference in New Issue
Block a user