mirror of
https://github.com/gryf/ebook-converter.git
synced 2026-01-01 07:22:26 +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()
|
||||
return tb
|
||||
|
||||
def __hash__(self):
|
||||
return id(self)
|
||||
|
||||
|
||||
class BlockStyle(LrsStyle):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user