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)