aboutsummaryrefslogtreecommitdiffstats
path: root/support/stm32loader.py
diff options
context:
space:
mode:
Diffstat (limited to 'support/stm32loader.py')
-rwxr-xr-xsupport/stm32loader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/stm32loader.py b/support/stm32loader.py
index d25b680..50686bf 100755
--- a/support/stm32loader.py
+++ b/support/stm32loader.py
@@ -422,7 +422,7 @@ if __name__ == "__main__":
try:
opts, args = getopt.getopt(sys.argv[1:], "hqVewvrp:b:a:l:")
- except getopt.GetoptError, err:
+ except getopt.GetoptError as err:
# print help information and exit:
print(str(err)) # will print something like "option -a not recognized"
usage()