# Remove -?drdisc from the end
if item["data"].endswith("drdisc"):
item["data"] = item["data"][:-8]
# Remove -?drdisc from the end
if item["data"].endswith("drdisc"):
item["data"] = item["data"][:-8]
elif isinstance(item["data"], float):
line_lst.append("{:.1f}".format(item["data"]))
elif item["data"] is None:
elif isinstance(item["data"], float):
line_lst.append("{:.1f}".format(item["data"]))
elif item["data"] is None: