Use the right root dir with the --no-prepare option

This commit is contained in:
Shalin Shekhar Mangar 2017-10-11 12:53:23 +05:30
parent b21721f152
commit b8e50f3824
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,7 @@ def main():
if c.prepare:
rev = prepare(c.root, c.version, c.key_id, c.key_password)
else:
os.chdir(root)
os.chdir(c.root)
rev = open('rev.txt', encoding='UTF-8').read()
if c.push_local: