show traceback of first error instead of last one

Change-Id: Iee418dcfb1d81a16112eed57b03c86242c2128b4
This commit is contained in:
2021-10-06 08:34:56 +02:00
parent 929f55055e
commit cbb005d942
2 changed files with 8 additions and 4 deletions

View File

@ -29,6 +29,7 @@ import threading
import traceback
from os import environ, path
repodir = path.abspath(path.join(path.dirname(__file__), '..', '..'))
if path.splitext(sys.executable)[1] == ".exe" and not path.basename(sys.executable).startswith('python'):