parent
2bde686752
commit
1451c66a8f
|
@ -113,7 +113,7 @@ class Fiat(object):
|
|||
return 'Fiat(%s)'% self.__str__()
|
||||
|
||||
def __str__(self):
|
||||
if self.value.is_nan():
|
||||
if hasattr(self.value, 'is_nan') and self.value.is_nan():
|
||||
return _('No Data')
|
||||
else:
|
||||
return "{:.2f}".format(self.value) + ' ' + self.ccy
|
||||
|
|
Loading…
Reference in New Issue