mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-28 12:36:42 +00:00
missing id
This commit is contained in:
parent
f9d5c0ff40
commit
fb6921feba
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ import json
|
|||
def trigger_refresh_on_new_epg_source(sender, instance, created, **kwargs):
|
||||
# Trigger refresh only if the source is newly created and active
|
||||
if created and instance.is_active:
|
||||
refresh_epg_data.delay()
|
||||
refresh_epg_data.delay(instance.id)
|
||||
|
||||
@receiver(post_save, sender=EPGSource)
|
||||
def create_or_update_refresh_task(sender, instance, **kwargs):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue