aboutsummaryrefslogtreecommitdiffstats
path: root/python/Dawn
diff options
context:
space:
mode:
Diffstat (limited to 'python/Dawn')
-rw-r--r--python/Dawn/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/Dawn/views.py b/python/Dawn/views.py
index bf824a22..8aae1cc6 100644
--- a/python/Dawn/views.py
+++ b/python/Dawn/views.py
@@ -17,8 +17,8 @@ import socket
import psycopg2
fed_cal = get_calendar('USFederalHolidayCalendar')
-bond_cal = HolidayCalendarFactory('BondCalendar', cal, GoodFriday)
-bus_day = CustomBusinessDay(calendar=bond_cal)
+bond_cal = HolidayCalendarFactory('BondCalendar', fed_cal, GoodFriday)
+bus_day = CustomBusinessDay(calendar=bond_cal())
def cp_choices():
return Counterparties.query.order_by('name').\