mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-23 05:26:37 +00:00
fixup! Do not update media servers about media from inactive sources
This commit is contained in:
parent
fc058a82f7
commit
0549438543
@ -365,7 +365,7 @@ def media_post_delete(sender, instance, **kwargs):
|
||||
log.info(f'Deleting file for: {instance} path: {file}')
|
||||
delete_file(file)
|
||||
|
||||
if not instance.source.is_active
|
||||
if not instance.source.is_active:
|
||||
return
|
||||
# Schedule a task to update media servers
|
||||
for mediaserver in MediaServer.objects.all():
|
||||
|
Loading…
Reference in New Issue
Block a user