trivial: reapply black to sync_desks_timeperiod_exceptions.py
This commit is contained in:
parent
01aaa54b4c
commit
e07c450d7c
|
@ -28,7 +28,9 @@ class Command(BaseCommand):
|
|||
help = 'Synchronize time period exceptions from desks remote ics'
|
||||
|
||||
def handle(self, **options):
|
||||
for source in TimePeriodExceptionSource.objects.filter(Q(ics_file='') | Q(ics_file__isnull=True), ics_url__isnull=False):
|
||||
for source in TimePeriodExceptionSource.objects.filter(
|
||||
Q(ics_file='') | Q(ics_file__isnull=True), ics_url__isnull=False
|
||||
):
|
||||
try:
|
||||
source.desk.import_timeperiod_exceptions_from_remote_ics(source.ics_url, source=source)
|
||||
except ICSError as e:
|
||||
|
|
Loading…
Reference in New Issue