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
Branches
No related tags found
2 merge requests!17Add view to clear schedule,!6Rounding strategy for slot duration at JSON export
Pipeline #269133 passed
......@@ -952,7 +952,7 @@ class AKSlot(models.Model):
for owner in self.ak.owners.all()]),
"description": self.ak.description,
"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