mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
Support python3 queue
This commit is contained in:
parent
814dbd2666
commit
a82f4d780f
@ -2,7 +2,11 @@
|
|||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
|
|
||||||
import threading
|
import threading
|
||||||
import Queue
|
# Python3 queue support.
|
||||||
|
try:
|
||||||
|
import Queue
|
||||||
|
except ImportError:
|
||||||
|
import queue as Queue
|
||||||
import time
|
import time
|
||||||
|
|
||||||
import re
|
import re
|
||||||
|
Loading…
Reference in New Issue
Block a user