# HG changeset patch # User Julien Cristau # Date 1458048621 -3600 # Node ID 744e57d74f6df3870e9f08ee80f8d40f5b844af6 # Parent 5213dfe9cddb7cf967d58b4b21774f946c9b24c2 [web/calendar] fix regression in previous changeset "Enables css customization in CalendarView" was untested, and introduced a crash: TypeError: not all arguments converted during string formatting diff -r 5213dfe9cddb -r 744e57d74f6d cubicweb/web/views/calendar.py --- a/cubicweb/web/views/calendar.py Mon Mar 17 15:21:47 2014 +0100 +++ b/cubicweb/web/views/calendar.py Tue Mar 15 14:30:21 2016 +0100 @@ -193,7 +193,7 @@ if cssclass: self.w(u'
' % (cssclass, self.calendar_id)) else: - self.w(u'
' % (cssclass, self.calendar_id)) + self.w(u'
' % self.calendar_id) def add_onload(self): fullcalendar_options = self.fullcalendar_options.copy()