Skip to content
Snippets Groups Projects
Commit 9301ef7a authored by Felix Blanke's avatar Felix Blanke
Browse files

Convert decimal to float first

parent 57ac0fe7
No related branches found
No related tags found
6 merge requests!262[WIP] compatibility with koma solver import/export,!261[WIP] compatibility with koma solver import/export,!260[WIP] import/export merge,!259Add view to clear schedule,!237Draft: add tests on json export,!235Merge fork for interoperability of KoMa solver
...@@ -952,7 +952,7 @@ class AKSlot(models.Model): ...@@ -952,7 +952,7 @@ class AKSlot(models.Model):
for owner in self.ak.owners.all()]), for owner in self.ak.owners.all()]),
"description": self.ak.description, "description": self.ak.description,
"reso": self.ak.reso, "reso": self.ak.reso,
"duration_in_hours": self.duration, "duration_in_hours": float(self.duration),
}, },
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment