Commit 738f20cc authored by François Fortin's avatar François Fortin
Browse files

make sure that the float date to write is realy a float

parent 8f3faa5a
......@@ -49,7 +49,7 @@ def write_integer( domDoc, sXml_tag, iData ):
return metro_xml.create_text_node(domDoc, sXml_tag, str(int(iData)))
def write_real( domDoc, sXml_tag, iData ):
return metro_xml.create_text_node(domDoc, sXml_tag, str(iData))
return metro_xml.create_text_node(domDoc, sXml_tag, str(float(iData)))
def write_date( domDoc, sXml_tag, fDate ):
sDate = metro_date.seconds2iso8601(fDate)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment