0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 17:13:50 +01:00

Fix typo when using sys.stderr.write

This commit is contained in:
Erik Johnston 2015-08-25 15:39:16 +01:00
parent f63208a1c0
commit 1d1c303b9b

View file

@ -26,5 +26,5 @@ if __name__ == "__main__":
print getattr(config, key) print getattr(config, key)
sys.exit(0) sys.exit(0)
else: else:
sys.stderr.write("Unknown command %r", action) sys.stderr.write("Unknown command %r\n" % (action,))
sys.exit(1) sys.exit(1)