zulip_bots: Make typing import work in Python 3.5.
See https://github.com/python/mypy/issues/1838.
This commit is contained in:
parent
29e22c2c0a
commit
1102057e35
|
@ -9,7 +9,9 @@ import os
|
|||
from types import ModuleType
|
||||
from importlib import import_module
|
||||
from os.path import basename, splitext
|
||||
from typing import Any, Optional, Text
|
||||
|
||||
if False:
|
||||
from typing import Any, Optional, Text
|
||||
|
||||
from zulip_bots.lib import (
|
||||
run_message_handler_for_bot,
|
||||
|
|
Loading…
Reference in a new issue