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.
This commit is contained in:
Tim Abbott 2017-10-05 13:16:04 -07:00
parent 96f2100974
commit 963e6d0ad8

View file

@ -49,7 +49,7 @@ signal.signal(signal.SIGINT, die)
from zulip import RandomExponentialBackoff
args = [os.path.join(options.root_path, "user_root", "zephyr_mirror_backend.py")]
args = [os.path.join(os.path.dirname(os.path.realpath(__file__)), "zephyr_mirror_backend.py")]
args.extend(sys.argv[1:])
if options.sync_subscriptions: