log2zulip: Fix paths to the rest of the project.

This commit is contained in:
Tim Abbott 2017-06-01 17:57:42 -07:00
parent 709a2521a1
commit 48632752c4

View file

@ -12,7 +12,7 @@ import traceback
try: try:
# Use the Zulip virtualenv if available # Use the Zulip virtualenv if available
sys.path.append(os.path.join(os.path.dirname(__file__), "..")) sys.path.append(os.path.join(os.path.dirname(__file__), "../../.."))
import scripts.lib.setup_path_on_import import scripts.lib.setup_path_on_import
except ImportError: except ImportError:
pass pass
@ -20,7 +20,7 @@ except ImportError:
import json import json
import ujson import ujson
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "../api")) sys.path.insert(0, os.path.join(os.path.dirname(__file__), "../../"))
import zulip import zulip
from typing import List from typing import List