File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 22
22
DATE_1904_MATCHER = re .compile (b".*?(<workbookPr.*?\/>).*?" , re .MULTILINE )
23
23
#"xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"
24
24
#But it not used for now
25
- X14AC_NAMESPACE = 'xmlns:x14ac="http://not.used.com/"'
25
+ X14AC_NAMESPACE = b 'xmlns:x14ac="http://not.used.com/"'
26
26
27
27
# see also ruby-roo lib at: http://github.com/hmcgowan/roo
28
28
FORMATS = {
@@ -182,9 +182,9 @@ def __repr__(self):
182
182
183
183
184
184
def parse_row (row_xml_string , book ):
185
- if "x14ac" in row_xml_string :
185
+ if b "x14ac" in row_xml_string :
186
186
row_xml_string = row_xml_string .replace (
187
- "<row" , "<row %s" % X14AC_NAMESPACE
187
+ b "<row" , ( b "<row " + X14AC_NAMESPACE )
188
188
)
189
189
partial = io .BytesIO (row_xml_string )
190
190
cells = []
You can’t perform that action at this time.
0 commit comments