Your ROOT_URL in app.ini is https://source.parasitstudio.de:63000/ but you are visiting https://source.parasitstudio.de/wirtz/scriptform/commit/c2d0c2cbe8895efb89297e6c63d06b3263920825?style=unified&whitespace=ignore-change You should set ROOT_URL correctly, otherwise the web may not work correctly.

Use sys.stdout instead of print.

pull/7/head
Ferry Boender 10 years ago
parent d804cd4530
commit c2d0c2cbe8
  1. 2
      src/scriptform.py

@ -1025,7 +1025,7 @@ if __name__ == "__main__":
if not plain_pw == getpass.getpass('Repeat password: '):
sys.stderr.write("Passwords do not match.\n")
sys.exit(1)
print hashlib.sha256(plain_pw).hexdigest()
sys.stdout.write(hashlib.sha256(plain_pw).hexdigest() + '\n')
sys.exit(0)
else:
if not options.action_stop and len(args) < 1:

Loading…
Cancel
Save