Skip to content

Commit 54897d2

Browse files
committed
This reloading was removed in #855.
1 parent f8e2b06 commit 54897d2

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

plexapi/library.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -517,11 +517,6 @@ def edit(self, agent=None, **kwargs):
517517
part = '/library/sections/%s?agent=%s&%s' % (self.key, agent, urlencode(params, doseq=True))
518518
self._server.query(part, method=self._server._session.put)
519519

520-
# Reload this way since the self.key dont have a full path, but is simply a id.
521-
for s in self._server.library.sections():
522-
if s.key == self.key:
523-
return s
524-
525520
def addLocations(self, location):
526521
""" Add a location to a library.
527522

0 commit comments

Comments
 (0)