Use os.pathsep for PYTHONPATH
This commit is contained in:
@@ -3000,7 +3000,7 @@ class SCRIPTS(Notifier):
|
|||||||
'TAUTULLI_URL': helpers.get_plexpy_url(hostname='localhost'),
|
'TAUTULLI_URL': helpers.get_plexpy_url(hostname='localhost'),
|
||||||
'TAUTULLI_APIKEY': plexpy.CONFIG.API_KEY,
|
'TAUTULLI_APIKEY': plexpy.CONFIG.API_KEY,
|
||||||
'TAUTULLI_ENCODING': plexpy.SYS_ENCODING,
|
'TAUTULLI_ENCODING': plexpy.SYS_ENCODING,
|
||||||
'PYTHONPATH': (';' if os.name == 'nt' else ':').join(sys.path)
|
'PYTHONPATH': os.pathsep.join(sys.path)
|
||||||
})
|
})
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Reference in New Issue
Block a user