Skip to content

Commit

Permalink
[CLI] Older python compat. (qmk#23933)
Browse files Browse the repository at this point in the history
  • Loading branch information
tzarc committed Jun 16, 2024
1 parent ad82c47 commit 7ac1a34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/python/qmk/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def maybe_exit(rc):
if maybe_exit_should_exit:
sys.exit(rc)
if maybe_exit_reraise:
e = sys.exception()
e = sys.exc_info()[1]
if e:
raise e

Expand Down

0 comments on commit 7ac1a34

Please sign in to comment.