aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sources/pyside2/PySide2/__init__.py.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/pyside2/PySide2/__init__.py.in b/sources/pyside2/PySide2/__init__.py.in
index f33b05e31..19425c347 100644
--- a/sources/pyside2/PySide2/__init__.py.in
+++ b/sources/pyside2/PySide2/__init__.py.in
@@ -24,7 +24,7 @@ def _setupQtDirectories():
# PATH has to contain the package directory, otherwise plugins
# won't be able to find their required Qt libraries (e.g. the
# svg image plugin won't find Qt5Svg.dll).
- os.environ['PATH'] = pyside_package_dir + ";" + os.environ['PATH']
+ os.environ['PATH'] = pyside_package_dir + os.pathsep + os.environ['PATH']
# On Windows add the PySide2\openssl folder (if it exists) to
# the PATH so that the SSL DLLs can be found when Qt tries to
@@ -34,7 +34,7 @@ def _setupQtDirectories():
if os.path.exists(openssl_dir):
path = os.environ['PATH']
try:
- os.environ['PATH'] = os.path.join(openssl_dir, path)
+ os.environ['PATH'] = openssl_dir + os.pathsep + path
try:
from . import QtNetwork
except ImportError: