Browse files

Fixed a bug in Decimal field which did not load the exact decimal val…

…ue from settings.cfg but the rounded value
  • Loading branch information...
owais committed Nov 21, 2011
1 parent 8ca768e commit 0ad59c8fc031b33561e38fbb30a3c384a3f4b4c2
Showing with 1 addition and 1 deletion.
  1. +1 −1 setman/
@@ -327,7 +327,7 @@ def __init__(self, **kwargs):
def to_python(self, value):
if value is None:
return value
- return Decimal(value)
+ return Decimal(str(value))
class IntSetting(Setting):

0 comments on commit 0ad59c8

Please sign in to comment.