Fix buggy behaviour if user sets friendly name as blank.
Hide "clear logs" button when viewing PMS logs (it has no impact on those). Start major clean up of classes. Initial work to allow SSL communication to Plex servers.
This commit is contained in:
@@ -946,7 +946,10 @@ class PlexWatch(object):
|
||||
return output
|
||||
|
||||
def set_user_friendly_name(self, user=None, friendly_name=None):
|
||||
if user and friendly_name:
|
||||
if user:
|
||||
if friendly_name.strip() == '':
|
||||
friendly_name = None
|
||||
|
||||
myDB = db.DBConnection()
|
||||
|
||||
control_value_dict = {"username": user}
|
||||
|
Reference in New Issue
Block a user