mirror of
https://github.com/fschmnn/duodecimal.git
synced 2024-11-28 18:50:13 +00:00
2019.03.09 - removed bug with rstrip()
This commit is contained in:
parent
74d442439c
commit
28e194be1b
@ -25,7 +25,7 @@ class duo:
|
||||
|
||||
elif type(number) == str:
|
||||
self.decimal = self.duo_to_dec(number)
|
||||
self.duodecimal = number.rstrip('0')
|
||||
self.duodecimal = number
|
||||
else:
|
||||
raise TypeError('unkown type')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user