Fix editing single objects when batchMultiEdit() is enabled (#1479)

Fixes #1475
This commit is contained in:
JonnyWong16 2024-11-16 13:54:27 -08:00 committed by GitHub
parent aba6b9862f
commit 4a8f7483c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1740,7 +1740,7 @@ class LibrarySection(PlexObject):
def _edit(self, items=None, **kwargs): def _edit(self, items=None, **kwargs):
""" Actually edit multiple objects. """ """ Actually edit multiple objects. """
if isinstance(self._edits, dict): if isinstance(self._edits, dict) and items is None:
self._edits.update(kwargs) self._edits.update(kwargs)
return self return self