diff --git a/pywb/warcserver/inputrequest.py b/pywb/warcserver/inputrequest.py index 6e4bfe8b..838f98d6 100644 --- a/pywb/warcserver/inputrequest.py +++ b/pywb/warcserver/inputrequest.py @@ -345,6 +345,8 @@ def _parser(json_obj, name=""): fraction, _ = math.modf(json_obj) if fraction == 0.0: data[get_key(name)] = str(int(json_obj)) + else: + data[get_key(name)] = str(json_obj) else: data[get_key(name)] = str(json_obj)