mirror of https://github.com/zulip/zulip.git
Fix path injection for tools/review
(imported from commit 25bac426b71a55f29faa232dcac1d957f2941182)
This commit is contained in:
parent
a37b08db58
commit
425a247569
|
@ -438,7 +438,7 @@ def main(args):
|
|||
print >>sys.stdout
|
||||
print >>sys.stdout, msg.get_payload(decode=True),
|
||||
else:
|
||||
sys.path.append(os.path.join(os.path.dirname(__file__), '../api'))
|
||||
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '../api'))
|
||||
import humbug
|
||||
client = humbug.Client(
|
||||
email=get_current_user_email(repo),
|
||||
|
|
Loading…
Reference in New Issue