mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-12-23 15:00:40 +01:00
move updatequeue to telegram.utils
This commit is contained in:
parent
5e7f2688be
commit
45a47d54bd
3 changed files with 2 additions and 4 deletions
|
@ -21,8 +21,6 @@
|
||||||
|
|
||||||
from .dispatcher import Dispatcher
|
from .dispatcher import Dispatcher
|
||||||
from .jobqueue import JobQueue
|
from .jobqueue import JobQueue
|
||||||
from .updatequeue import UpdateQueue
|
|
||||||
from .updater import Updater
|
from .updater import Updater
|
||||||
|
|
||||||
|
__all__ = ('Dispatcher', 'JobQueue', 'Updater')
|
||||||
__all__ = ('Dispatcher', 'JobQueue', 'UpdateQueue', 'Updater')
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ from re import match, split
|
||||||
from time import sleep
|
from time import sleep
|
||||||
|
|
||||||
from telegram import (TelegramError, Update, NullHandler)
|
from telegram import (TelegramError, Update, NullHandler)
|
||||||
from telegram.ext.updatequeue import Empty
|
from telegram.utils.updatequeue import Empty
|
||||||
|
|
||||||
logging.getLogger(__name__).addHandler(NullHandler())
|
logging.getLogger(__name__).addHandler(NullHandler())
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue