mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #3452 (epubcheck1.0.4 errors - attribute file-as not allowed at this point)
This commit is contained in:
parent
9985700d15
commit
74db760282
@ -666,7 +666,7 @@ class OPF(object):
|
||||
for key in matches[0].attrib:
|
||||
if key.endswith('file-as'):
|
||||
matches[0].attrib.pop(key)
|
||||
matches[0].set('file-as', unicode(val))
|
||||
matches[0].set('{%s}file-as'%self.NAMESPACES['opf'], unicode(val))
|
||||
|
||||
return property(fget=fget, fset=fset)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user