10.6.0 compatability, cleanup, removed dep

Automatically fixes '*ProviderId' in user templates for versions of
Jellyfin >= 10.6.0. Removed unnecessary configparser dependency, the one
actually used is part of python. jf_api now has an info attribute.
This commit is contained in:
2020-06-27 15:38:51 +01:00
parent 24045034c8
commit 4809331502
4 changed files with 27 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
specials = ['[', '@', '_', '!', '#', '$', '%', '^', '&', '*', '(', ')',
'<', '>', '?', '/', '\\', '|', '}', '{', '~', ':', ']']
class PasswordValidator:
def __init__(self, min_length, upper, lower, number, special):
self.criteria = {