diverse Korrekturen

This commit is contained in:
jlehmann committed 2017-11-13 18:03:54 +01:00
1 parent e0bf37da1f
commit 8eb3b6f911
5 files changed
+22 -5

No files matched your search

+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