From c98a8865d6547dfd7f86d02065ee3dac2af65312 Mon Sep 17 00:00:00 2001 From: Tim Date: Sun, 16 Aug 2015 12:40:32 +0200 Subject: [PATCH] Fix bug where user refresh would fail under certain circumstances. Move all user functions to it's own class. --- data/interfaces/default/edit_user.html | 2 +- plexpy/datafactory.py | 441 ----------------------- plexpy/monitor.py | 6 +- plexpy/notification_handler.py | 6 +- plexpy/plextv.py | 25 +- plexpy/plexwatch_import.py | 8 +- plexpy/pmsconnect.py | 8 +- plexpy/users.py | 463 +++++++++++++++++++++++++ plexpy/webserve.py | 63 ++-- 9 files changed, 522 insertions(+), 500 deletions(-) create mode 100644 plexpy/users.py diff --git a/data/interfaces/default/edit_user.html b/data/interfaces/default/edit_user.html index 213427df..37aba8bb 100644 --- a/data/interfaces/default/edit_user.html +++ b/data/interfaces/default/edit_user.html @@ -44,7 +44,7 @@ DOCUMENTATION :: END -

Change the users profile picture in PlexPy.

+

Change the users profile picture in PlexPy. To reset to default, leave this field empty and save then perform a user refresh.