Pārlūkot izejas kodu

Merge remote-tracking branch 'origin/master' into develop

QMK Bot 2 gadi atpakaļ
vecāks
revīzija
3ddd20cf51
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      lib/python/qmk/util.py

+ 1 - 1
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