Skip to content

Commit 4f340d0

Browse files
committed
var renaming for consistency
1 parent 54897d2 commit 4f340d0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

plexapi/library.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -562,9 +562,9 @@ def removeLocations(self, location):
562562
location = location.path
563563
if isinstance(location, str):
564564
location = [location]
565-
for _location in location:
566-
if _location in locations:
567-
locations.remove(_location)
565+
for path in location:
566+
if path in locations:
567+
locations.remove(path)
568568
else:
569569
raise BadRequest('Path: %s does not exist in the library.' % location)
570570
if len(locations) == 0:

0 commit comments

Comments
 (0)