Commit 7160eb06 authored by Otthorn's avatar Otthorn 🤔

test de while loop

parent 84159dc2
# -*- coding: utf-8 -*-
from time import sleep
import better_random
import json
from urllib.request import urlopen
......@@ -114,17 +115,14 @@ def main():
bot.start_polling()
print("gif_bot started")
while True:
input()
#while True:
# input()
except:
print("Error in start...while loop")
pass
print("Error")
print("...")
if __name__ == "__main__":
try:
while True:
print("STARTING MAIN")
main()
except:
print("Error in main()")
pass
sleep(3600)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment