From 07a54858141dcaf5dcfa1a16a6d3e482997d22e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20K=C3=B6ster?= Date: Wed, 18 Apr 2018 17:45:24 +0200 Subject: [PATCH] Fix syntax --- bindings/python/example_scripts/rest-api/gnucash_rest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/example_scripts/rest-api/gnucash_rest.py b/bindings/python/example_scripts/rest-api/gnucash_rest.py index 5444b98e98..3ee4ad83ff 100644 --- a/bindings/python/example_scripts/rest-api/gnucash_rest.py +++ b/bindings/python/example_scripts/rest-api/gnucash_rest.py @@ -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 ') sys.exit(2)