diff --git a/netbox/core/models/data.py b/netbox/core/models/data.py index a40b58bc7..e5cc21119 100644 --- a/netbox/core/models/data.py +++ b/netbox/core/models/data.py @@ -198,7 +198,7 @@ class DataSource(JobsMixin, PrimaryModel): logger.debug(f"Updated {updated_count} files") # Bulk delete deleted files - deleted_count, _ = DataFile.objects.filter(pk__in=deleted_file_ids).delete() + deleted_count, __ = DataFile.objects.filter(pk__in=deleted_file_ids).delete() logger.debug(f"Deleted {deleted_count} files") # Walk the local replication to find new files