Skip to content

Commit

Permalink
fixup: only return filtered data when appropriate
Browse files Browse the repository at this point in the history
  • Loading branch information
tcely authored Feb 23, 2025
1 parent be0cbd6 commit 3e2337d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tubesync/sync/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,8 @@ def reduce_data(self):
log.info(f'{self.key}: metadata reduced by {delta:,} characters ({old_mdl:,} -> {new_mdl:,})')
if getattr(settings, 'SHRINK_OLD_MEDIA_METADATA', False):
self.metadata = filtered_json
return filtered_data
return filtered_data
return data


@property
Expand Down

0 comments on commit 3e2337d

Please sign in to comment.