Skip to content

Commit

Permalink
style: fix F812 rule
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher committed Aug 22, 2023
1 parent a7d29a3 commit 32ce56e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plexapi/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ def runButlerTask(self, task):
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}'
Expand Down

0 comments on commit 32ce56e

Please sign in to comment.