forgot to mod rmul

This commit is contained in:
lafrite 2014-06-27 11:01:44 +02:00
parent 369c2cd77a
commit b0ca85a029

View File

@ -211,9 +211,7 @@ class Fraction(object):
return steps return steps
def __rmul__(self, other): def __rmul__(self, other):
number = self.convert2fraction(other) return self * other
return number * self
def __truediv__(self, other): def __truediv__(self, other):
if other == 0: if other == 0: