Commit 3dc74066 authored by Sigmund Augdal's avatar Sigmund Augdal

Fix int type properties

parent fb396a85
...@@ -245,7 +245,7 @@ def add_property(tag, key, value, datatype=None): ...@@ -245,7 +245,7 @@ def add_property(tag, key, value, datatype=None):
prop.text = "false" prop.text = "false"
elif type(value) == int: elif type(value) == int:
prop.set(ns('m', 'type'), "Edm.Int64") prop.set(ns('m', 'type'), "Edm.Int64")
prop.text = value prop.text = str(value)
else: else:
prop.text = value prop.text = value
if datatype: if datatype:
......
Markdown is supported
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