fixed incompatibility with spreadsheet.py
This commit is contained in:
1 parent
8e54ab740e
commit
e7f9c88871
2 files changed
+4
-4
No files matched your search
@@ -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