fixed incompatibility with spreadsheet.py
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.00.0 (2012-07-26 05:43:41) dev
|
||||
Version 2.00.0 (2012-07-26 05:56:51) dev
|
||||
|
||||
@@ -855,9 +855,9 @@ class Sheet:
|
||||
|
||||
sorted_headers = [TH(),] + \
|
||||
[TH(header[1]) for header in sorted(unsorted_headers)]
|
||||
table.insert(0, TR(*sorted_headers, _class="%s_fieldnames" % \
|
||||
attributes["_class"]))
|
||||
|
||||
table.insert(0, TR(*sorted_headers,
|
||||
**{_class:"%s_fieldnames" % \
|
||||
attributes["_class"]}))
|
||||
else:
|
||||
data = SCRIPT(""" // web2py Spreadsheets: no db data.""")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user