mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-24 20:53:09 +00:00
style: fix F812 rule (#1221)
This commit is contained in:
parent
bd0f1aee18
commit
ec4b779ca8
1 changed files with 1 additions and 1 deletions
|
@ -602,7 +602,7 @@ class PlexServer(PlexObject):
|
|||
print("Available butler tasks:", availableTasks)
|
||||
|
||||
"""
|
||||
validTasks = [task.name for task in self.butlerTasks()]
|
||||
validTasks = [_task.name for _task in self.butlerTasks()]
|
||||
if task not in validTasks:
|
||||
raise BadRequest(
|
||||
f'Invalid butler task: {task}. Available tasks are: {validTasks}'
|
||||
|
|
Loading…
Reference in a new issue