diff --git a/src/ctf_gameserver/checker/master.py b/src/ctf_gameserver/checker/master.py index c45af84..ae63740 100644 --- a/src/ctf_gameserver/checker/master.py +++ b/src/ctf_gameserver/checker/master.py @@ -388,6 +388,7 @@ def update_launch_params(self, tick): if check_duration is None: # No complete flag placements so far check_duration = self.tick_duration.total_seconds() + check_duration = float(check_duration) total_tasks = database.get_task_count(self.db_conn, self.service['id']) local_tasks = math.ceil(total_tasks / self.checker_count)