diff --git a/plexpy/webserve.py b/plexpy/webserve.py index bb4a78e7..885d9688 100644 --- a/plexpy/webserve.py +++ b/plexpy/webserve.py @@ -1245,7 +1245,7 @@ class WebInterface(object): # If http password exists in config, do not overwrite when blank value received if kwargs.get('http_password'): - if kwargs['http_password'].strip() == '' and plexpy.CONFIG.HTTP_PASSWORD != '': + if kwargs['http_password'] == ' ' and plexpy.CONFIG.HTTP_PASSWORD != '': kwargs['http_password'] = plexpy.CONFIG.HTTP_PASSWORD for plain_config, use_config in [(x[4:], x) for x in kwargs if x.startswith('use_')]: