From 01278635d16aa2b5949594e22b37df6c293738be Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Tue, 26 Mar 2019 20:05:37 +0000 Subject: [PATCH] - user better params for stirrer git-svn-id: http://moon:8086/svn/projects/HendiControl@146 fda53097-d464-4ada-af97-ba876c37ca34 --- Control/brewpi/stirrer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Control/brewpi/stirrer.py b/Control/brewpi/stirrer.py index ae4f6f8..ce0126f 100644 --- a/Control/brewpi/stirrer.py +++ b/Control/brewpi/stirrer.py @@ -2,8 +2,8 @@ from astirrer import AStirrer import time class Stirrer(AStirrer): - def __init__(self, dt): - super(Stirrer, self).__init__(dt) + def __init__(self, params): + super(Stirrer, self).__init__(params['dt']) self.isMasterOn = 0 def __del__(self):