Merge branch 'patch-1' of https://github.com/fkoester/gnucash into maint

This commit is contained in:
Geert Janssens
2018-05-03 19:07:36 +02:00

View File

@@ -1858,7 +1858,7 @@ class Error(Exception):
try:
options, arguments = getopt.getopt(sys.argv[1:], 'nh:', ['host=', 'new='])
except getopt.GetoptError as err:
print(str(err) # will print something like "option -a not recognized")
print(str(err)) # will print something like "option -a not recognized"
print('Usage: python-rest.py <connection string>')
sys.exit(2)