--- a/web/views/timetable.py Tue Nov 24 10:51:29 2009 +0100
+++ b/web/views/timetable.py Tue Nov 24 10:51:53 2009 +0100
@@ -22,6 +22,7 @@
self.lines = 1
MIN_COLS = 3 # minimum number of task columns for a single user
+ALL_USERS = object()
class TimeTableView(AnyRsetView):
id = 'timetable'
@@ -137,7 +138,7 @@
for user, width in zip(users, widths):
self.w(u'<th colspan="%s">' % max(MIN_COLS, width))
if user is ALL_USERS:
- self.w('*')
+ self.w(u'*')
else:
user.view('oneline', w=self.w)
self.w(u'</th>')