diff options
Diffstat (limited to 'ipalib/encoder.py')
-rw-r--r-- | ipalib/encoder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/encoder.py b/ipalib/encoder.py index 2c5cebd6..9d9d735a 100644 --- a/ipalib/encoder.py +++ b/ipalib/encoder.py @@ -127,7 +127,7 @@ class Encoder(object): var.decode(self.encoder_settings.decode_from) ) elif isinstance(var, (bool, float, int, long)): - return self.encoder_settings.decode_postprocessor(unicode(var)) + return var elif isinstance(var, list): return [self.decode(m) for m in var] elif isinstance(var, tuple): |