Skip to content

Commit e47c607

Browse files
committed
TASK: Remove unnecessary escape chars
1 parent b1607f9 commit e47c607

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
logger = logging.getLogger(__name__)
2525
logging.basicConfig(format='%(asctime)s - %(name)s - %(levelname)s - %(message)s', level=logging.DEBUG)
2626

27-
if not re.match("[0-9]+\:[a-zA-Z0-9\-\_]+", BOT_TOKEN):
27+
if not re.match("[0-9]+:[a-zA-Z0-9\-_]+", BOT_TOKEN):
2828
logging.error("Bot token not correct - please check.")
2929
exit(1)
3030

0 commit comments

Comments
 (0)