From 63a83d4cc244ab8e730b3027cf83af78ee0110ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jannes=20H=C3=B6ke?= Date: Tue, 22 Mar 2016 02:48:56 +0100 Subject: [PATCH] fix imports of updatequeue --- telegram/ext/updater.py | 3 ++- tests/test_updater.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/telegram/ext/updater.py b/telegram/ext/updater.py index 72b3dc30c..20088dfd5 100644 --- a/telegram/ext/updater.py +++ b/telegram/ext/updater.py @@ -29,8 +29,9 @@ from time import sleep import subprocess from signal import signal, SIGINT, SIGTERM, SIGABRT from telegram import Bot, TelegramError, NullHandler -from telegram.ext import dispatcher, Dispatcher, JobQueue, UpdateQueue +from telegram.ext import dispatcher, Dispatcher, JobQueue from telegram.error import Unauthorized, InvalidToken +from telegram.utils.updatequeue import UpdateQueue from telegram.utils.webhookhandler import (WebhookServer, WebhookHandler) logging.getLogger(__name__).addHandler(NullHandler()) diff --git a/tests/test_updater.py b/tests/test_updater.py index 7883b545e..32a522b98 100644 --- a/tests/test_updater.py +++ b/tests/test_updater.py @@ -48,7 +48,7 @@ except ImportError: sys.path.append('.') from telegram import Update, Message, TelegramError, User, Chat, Bot -from telegram.ext.updater import Updater +from telegram.ext import Updater from telegram.ext.dispatcher import run_async from telegram.error import Unauthorized, InvalidToken from tests.base import BaseTest