qt history list: fix #6746

This commit is contained in:
SomberNight
2020-11-18 23:50:08 +01:00
parent 6f105ae43b
commit 57768244bb

View File

@@ -219,6 +219,8 @@ class Fiat(object):
return "{:.2f}".format(self.value) + ' ' + self.ccy
def __eq__(self, other):
if not isinstance(other, Fiat):
return False
if self.ccy != other.ccy:
return False
if isinstance(self.value, Decimal) and isinstance(other.value, Decimal) \