From bf23713c9946f5be591fb26545454c6336d5d481 Mon Sep 17 00:00:00 2001 From: gaazzopa Date: Mon, 7 Dec 2020 23:56:26 +0100 Subject: [PATCH] Fixed model to use venting in minutes --- cara/apps/calculator/model_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cara/apps/calculator/model_generator.py b/cara/apps/calculator/model_generator.py index 23ff3b7e..8a2628f5 100644 --- a/cara/apps/calculator/model_generator.py +++ b/cara/apps/calculator/model_generator.py @@ -142,7 +142,7 @@ class FormData: # Initializes a ventilation instance as a window if 'natural' is selected, or as a HEPA-filter otherwise if self.ventilation_type == 'natural': if self.windows_open == 'interval': - window_interval = models.PeriodicInterval(self.windows_frequency*60, self.windows_duration*60) + window_interval = models.PeriodicInterval(self.windows_frequency, self.windows_duration) else: window_interval = always_on