mirror of
https://github.com/gryf/ebook-converter.git
synced 2026-03-15 06:03:38 +01:00
Fix issue with nonhashable TextStyle objects in LRF format.
This commit is contained in:
@@ -1166,6 +1166,9 @@ class TextStyle(LrsStyle):
|
|||||||
tb.attrs = self.attrs.copy()
|
tb.attrs = self.attrs.copy()
|
||||||
return tb
|
return tb
|
||||||
|
|
||||||
|
def __hash__(self):
|
||||||
|
return id(self)
|
||||||
|
|
||||||
|
|
||||||
class BlockStyle(LrsStyle):
|
class BlockStyle(LrsStyle):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user