mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-23 13:36:35 +00:00
Fixes for ruff check
in mediaservers.py
This commit is contained in:
parent
4ead042235
commit
48c9fb1ca3
@ -117,9 +117,6 @@ class PlexMediaServer(MediaServer):
|
|||||||
raise ValidationError('Plex Media Server "port" must be between 1 '
|
raise ValidationError('Plex Media Server "port" must be between 1 '
|
||||||
'and 65535')
|
'and 65535')
|
||||||
options = self.object.options
|
options = self.object.options
|
||||||
if 'token' not in options:
|
|
||||||
raise ValidationError('Plex Media Server requires a "token"')
|
|
||||||
token = options['token'].strip()
|
|
||||||
if 'token' not in options:
|
if 'token' not in options:
|
||||||
raise ValidationError('Plex Media Server requires a "token"')
|
raise ValidationError('Plex Media Server requires a "token"')
|
||||||
if 'libraries' not in options:
|
if 'libraries' not in options:
|
||||||
|
Loading…
Reference in New Issue
Block a user