mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 06:13:10 +02:00
Fix #3452 (epubcheck1.0.4 errors - attribute file-as not allowed at this point)
This commit is contained in:
parent
9985700d15
commit
74db760282
1 changed files with 1 additions and 1 deletions
|
|
@ -666,7 +666,7 @@ def fset(self, val):
|
|||
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…
Reference in a new issue