commit: 7ac1a34a346aed7118018f4f562a1cfdd651a087 parent ad82c4703a4a2e0e5c8d266b2df9e89836b76587 Author: Nick Brassel <nick@tzarc.org> Date: Sun, 16 Jun 2024 19:53:03 +1000 [CLI] Older python compat. (#23933)Diffstat:
M | lib/python/qmk/util.py | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)diff --git a/lib/python/qmk/util.py b/lib/python/qmk/util.py
@@ -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