mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 07:46:07 -07:00
Fix rare case when HTTP_ROOT is None when retrieving URL
This commit is contained in:
parent
30be4b473f
commit
3cf8c4f8a8
1 changed files with 1 additions and 1 deletions
|
@ -1130,7 +1130,7 @@ def get_plexpy_url(hostname=None):
|
||||||
else:
|
else:
|
||||||
port = ''
|
port = ''
|
||||||
|
|
||||||
if plexpy.HTTP_ROOT.strip('/'):
|
if plexpy.HTTP_ROOT is not None and plexpy.HTTP_ROOT.strip('/'):
|
||||||
root = '/' + plexpy.HTTP_ROOT.strip('/')
|
root = '/' + plexpy.HTTP_ROOT.strip('/')
|
||||||
else:
|
else:
|
||||||
root = ''
|
root = ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue