From d18e0bcdcab3c2b6df98b521949a3721046924fc Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Thu, 1 Jun 2017 17:57:42 -0700 Subject: [PATCH] log2zulip: Fix paths to the rest of the project. --- api/integrations/log2zulip/log2zulip | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/integrations/log2zulip/log2zulip b/api/integrations/log2zulip/log2zulip index 060fcfaeef..91fc3ca072 100755 --- a/api/integrations/log2zulip/log2zulip +++ b/api/integrations/log2zulip/log2zulip @@ -12,7 +12,7 @@ import traceback try: # 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 except ImportError: pass @@ -20,7 +20,7 @@ except ImportError: import json 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 from typing import List