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:
parent
96f2100974
commit
963e6d0ad8
|
@ -49,7 +49,7 @@ signal.signal(signal.SIGINT, die)
|
||||||
|
|
||||||
from zulip import RandomExponentialBackoff
|
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:])
|
args.extend(sys.argv[1:])
|
||||||
|
|
||||||
if options.sync_subscriptions:
|
if options.sync_subscriptions:
|
||||||
|
|
Loading…
Reference in a new issue