mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 11:30:30 +08:00
[CLI] Older python compat. (#23933)
This commit is contained in:
parent
ad82c4703a
commit
7ac1a34a34
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue