Commit 9f0f04f3 authored by gijs's avatar gijs

Changed dayloop sizes.

parent a6a010c3
......@@ -19,10 +19,12 @@ from django.core.management import call_command
dateformat = "%d %B %Y"
# (0, '22.5mm'),
# (1, '22.5mm'),
# (2, '22.5mm'),
# (4, '27.5mm'),
daysizes = [
(1, '20mm'),
(2, '22.5mm'),
(4, '27.5mm'),
(6, '30mm'),
(8, '40mm'),
(10, '45mm'),
......@@ -52,11 +54,11 @@ def timestampedcopy (path, stamp = None):
def getloopsize (days):
if len(days) == 1:
return 40
elif len(days) == 2:
return 60
elif len(days) == 2:
return 70
else:
return 80
return 85
def daterange(start_date, end_date):
for n in range(int((end_date - start_date).days)):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment