Fixed V1 publish call

This commit is contained in:
lolouk44 2019-06-05 07:16:34 +01:00 committed by GitHub
parent f74989e99b
commit 9d55f12105
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,7 +70,7 @@ class ScanProcessor():
if unit: if unit:
print('') print('')
self._publish(round(measured, 2, "", ""), unit) self._publish(round(measured, 2), unit, "", "")
else: else:
print("Scale is sleeping.") print("Scale is sleeping.")