1
0
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:
2020-04-12 13:43:17 +02:00
parent 18d3cc1510
commit 5be4996b7b

View File

@@ -1166,6 +1166,9 @@ class TextStyle(LrsStyle):
tb.attrs = self.attrs.copy()
return tb
def __hash__(self):
return id(self)
class BlockStyle(LrsStyle):
"""