aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Schueller <schueller@phimeca.com>2022-01-11 18:21:22 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-02-04 22:46:20 +0000
commit93f55ee78ab560bedca7fd955fd5769396ace18c (patch)
treeae7d56d325bd933df2fef81704aeaf9715b11f98
parent6843f7fe3d465e517c1d22366b9810ebfd680bf2 (diff)
pyside: fix exception str
Change-Id: I7816304a293611f90a729af46a3ea26d815cf28d Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> (cherry picked from commit 83e661aad2cc57e6dc51a10385dc6a56a9dcc163) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--sources/pyside6/PySide6/__init__.py.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/PySide6/__init__.py.in b/sources/pyside6/PySide6/__init__.py.in
index 631cfc1ce..9dad224a1 100644
--- a/sources/pyside6/PySide6/__init__.py.in
+++ b/sources/pyside6/PySide6/__init__.py.in
@@ -23,7 +23,7 @@ def _additional_dll_directories(package_dir):
# is executed in the build directory. We need libpyside and Qt in addition.
shiboken6 = Path(root).parent / 'shiboken6' / 'libshiboken'
if not shiboken6.is_dir():
- raise ImportError(shiboken6 + ' does not exist')
+ raise ImportError(str(shiboken6) + ' does not exist')
result = [shiboken6, root / 'libpyside']
for path in os.environ.get('PATH').split(';'):
if path: