Skip to content
Snippets Groups Projects
Commit bef9abe5 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

indentation

parent cd4e8a38
No related branches found
No related tags found
1 merge request!336Pylint checks
......@@ -62,7 +62,8 @@ class Command(BaseCommand):
holiday.comment = comment
holiday.visit_id = None
holiday.save()
appointment_type_other, _ = AppointmentType.objects.get_or_create(code='OTHER', defaults={'default_duration': 60})
appointment_type_other, _ = AppointmentType.objects.get_or_create(code='OTHER',
defaults={'default_duration': 60})
link = AppointmentTypeLink(appointment=holiday, appointment_type=appointment_type_other)
link.save()
......@@ -91,4 +92,4 @@ def next_weekday(day_datetime, week_day):
days_ahead = week_day - day_datetime.weekday()
if days_ahead <= 0:
days_ahead += 7
return day_datetime + datetime.timedelta(days_ahead)
\ No newline at end of file
return day_datetime + datetime.timedelta(days_ahead)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment