Skip to content

Commit 963e6d0

Browse files
committed
zephyr_mirror: Always run backend script from current directory.
While this technically removes functionality, it's rare that it would be useful to do this.
1 parent 96f2100 commit 963e6d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zulip/integrations/zephyr/zephyr_mirror.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def die(signal, frame):
4949

5050
from zulip import RandomExponentialBackoff
5151

52-
args = [os.path.join(options.root_path, "user_root", "zephyr_mirror_backend.py")]
52+
args = [os.path.join(os.path.dirname(os.path.realpath(__file__)), "zephyr_mirror_backend.py")]
5353
args.extend(sys.argv[1:])
5454

5555
if options.sync_subscriptions:

0 commit comments

Comments
 (0)