mirror of
https://github.com/pretix/pretix.git
synced 2026-05-11 16:13:59 +00:00
updatestyles: Do not update the same styles twice
This commit is contained in:
@@ -52,7 +52,7 @@ class Command(BaseCommand):
|
||||
if options.get('organizer'):
|
||||
ostore = ostore.filter(object__slug=options['organizer'])
|
||||
for es in ostore:
|
||||
regenerate_organizer_css.apply_async(args=(es.object_id,))
|
||||
regenerate_organizer_css.apply_async(args=(es.object_id,), kwargs={'regenerate_events': False})
|
||||
|
||||
estore = Event_SettingsStore.objects.filter(key="presale_css_file").order_by('-object__date_from')
|
||||
if options.get('event'):
|
||||
|
||||
Reference in New Issue
Block a user