Skip to content

Commit

Permalink
print error message
Browse files Browse the repository at this point in the history
  • Loading branch information
teopb committed Jun 6, 2024
1 parent cb5beb4 commit 5a67631
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyCECT.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ def main(argv):
optkeys = s.split()
try:
opts, args = getopt.getopt(argv, 'h', optkeys)
except getopt.GetoptError:
print(getopt.GetoptError)
except getopt.GetoptError as error:
print(error)
pyEnsLib.CECT_usage()
sys.exit(2)

Expand Down

0 comments on commit 5a67631

Please sign in to comment.