Remove bug with MOnumber = 0

This commit is contained in:
Bertrand Benjamin 2018-03-11 20:04:47 +03:00
parent b10492533e
commit 9baf6c5dbd
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ class MOnumber(MO):
@property
def __txt__(self):
if self.value > 0:
if self.value >= 0:
return str(self.value)
return f"- {abs(self.value)}"