From 28e194be1bd08043c51368eee54c69ae11125f33 Mon Sep 17 00:00:00 2001 From: Fabian Scheuermann Date: Sat, 9 Mar 2019 12:11:48 +0100 Subject: [PATCH] 2019.03.09 - removed bug with rstrip() --- duodecimal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/duodecimal.py b/duodecimal.py index 8d7c8b1..20657c4 100644 --- a/duodecimal.py +++ b/duodecimal.py @@ -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')