Fix issue with nonhashable TextStyle objects in LRF format.

This commit is contained in:
gryf committed 2020-04-19 15:16:48 +02:00
1 parent 18d3cc1510
commit 5be4996b7b
1 file changed
+3
@@ -1166,6 +1166,9 @@ class TextStyle(LrsStyle):
tb.attrs = self.attrs.copy()
return tb
def __hash__(self):
return id(self)
class BlockStyle(LrsStyle):
"""