Fix json float input.

This commit is contained in:
jmsgrogan 2017-10-20 18:02:16 +01:00
parent afbacca3f4
commit 57c2414e6b
5 changed files with 30413 additions and 34081 deletions

View file

@ -15,8 +15,8 @@ if __name__ == "__main__":
if not os.path.exists(os.getcwd() + "/" + output):
os.makedirs(os.getcwd() + "/" + output)
height = shape_params["height"]
radius = shape_params["radius"]
height = float(shape_params["height"])
radius = float(shape_params["radius"])
color = [random.random()*255.0,
random.random()*255.0,
random.random()*255.0]