diverse Korrekturen

This commit is contained in:
2017-11-13 18:03:54 +01:00
parent e0bf37da1f
commit 8eb3b6f911
5 changed files with 22 additions and 5 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ class ScaleUSB_PCE(Scale):
class ScaleDummy(Scale):
def __init__(self,scale_config):
Scale.__init__(self, scale_config)
self.AppendReading(random.randint(500,1000))
self.last_values = [ random.randint(500,1000) ]
def Read(self):
# Gewichts- Zu/Abnahme ist Random, manchmal gibt es einen