We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b832b0 commit f4d72a2Copy full SHA for f4d72a2
main.py
@@ -35,7 +35,7 @@
35
logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', level=logging.INFO,
36
handlers=[logfile_handler])
37
38
-if not re.match("[0-9]+:[a-zA-Z0-9\-_]+", BOT_TOKEN):
+if not re.match(r"[0-9]+:[a-zA-Z0-9\-_]+", BOT_TOKEN):
39
logging.error("Bot token not correct - please check.")
40
exit(1)
41
0 commit comments