diff --git a/fmz.py b/fmz.py index 389e3e1..44ddb81 100644 --- a/fmz.py +++ b/fmz.py @@ -56,6 +56,8 @@ def hasattr(obj, method): string_types = basestring def json_loads(s): + if s.decode('utf-8') == '': + return {} if isPython3: return json.loads(s.decode('utf-8')) return json.loads(s)