Pour le mettre en service, input ne fonctionne pas -> remplacer par sleep

This commit is contained in:
nemesis 2020-01-07 13:36:13 +01:00
parent 127a0cb8ec
commit 58e101fce2

View file

@ -2018,7 +2018,8 @@ def main():
# Infinitely read stdin to stall main thread while the bot runs in other threads # Infinitely read stdin to stall main thread while the bot runs in other threads
while True: while True:
input() #input()
time.sleep(5)
if __name__ == "__main__": if __name__ == "__main__":