Avoid modifying original result
MODIFY
plex_trakt_sync/trakt_api.py
plex_trakt_sync/trakt_api.py
@@ -247,7 +247,7 @@ def submit_collection(self):
try:
result = self.trakt_sync_collection(self.collection)
- result = self.remove_empty_values(result)
+ result = self.remove_empty_values(result.copy())
if result:
logger.info(f"Updated Trakt collection: {result}")
finally:

Avoid modifying original result