zulip_basecamp_mirror: Move some imports after sys.path updates.
This commit is contained in:
parent
777fca09d3
commit
ce94c09da7
|
@ -35,9 +35,6 @@ import sys
|
||||||
from stderror import write
|
from stderror import write
|
||||||
import os
|
import os
|
||||||
from datetime import datetime, timedelta
|
from datetime import datetime, timedelta
|
||||||
from six.moves.html_parser import HTMLParser
|
|
||||||
from typing import Any, Dict
|
|
||||||
import six
|
|
||||||
|
|
||||||
sys.path.insert(0, os.path.dirname(__file__))
|
sys.path.insert(0, os.path.dirname(__file__))
|
||||||
import zulip_basecamp_config as config
|
import zulip_basecamp_config as config
|
||||||
|
@ -46,7 +43,9 @@ VERSION = "0.9"
|
||||||
if config.ZULIP_API_PATH is not None:
|
if config.ZULIP_API_PATH is not None:
|
||||||
sys.path.append(config.ZULIP_API_PATH)
|
sys.path.append(config.ZULIP_API_PATH)
|
||||||
import zulip
|
import zulip
|
||||||
|
from six.moves.html_parser import HTMLParser
|
||||||
|
from typing import Any, Dict
|
||||||
|
import six
|
||||||
|
|
||||||
client = zulip.Client(
|
client = zulip.Client(
|
||||||
email=config.ZULIP_USER,
|
email=config.ZULIP_USER,
|
||||||
|
|
Loading…
Reference in a new issue