diff --git a/telebot/__init__.py b/telebot/__init__.py index 14f1632..431f73c 100644 --- a/telebot/__init__.py +++ b/telebot/__init__.py @@ -2,7 +2,11 @@ from __future__ import print_function import threading -import Queue +# Python3 queue support. +try: + import Queue +except ImportError: + import queue as Queue import time import re