From: Roman Bazalevskiy Date: Sun, 16 Sep 2018 18:30:33 +0000 (+0300) Subject: Незначительные исправления в обработке строк X-Git-Url: https://git.rvb.name/openhab-process.git/commitdiff_plain/f814617cb418b1557408bdd97eb265618a45b712?ds=inline;hp=--cc Незначительные исправления в обработке строк --- f814617cb418b1557408bdd97eb265618a45b712 diff --git a/mqtt-bt/scan-beacons b/mqtt-bt/scan-beacons index 17e5533..fd50f9d 100644 --- a/mqtt-bt/scan-beacons +++ b/mqtt-bt/scan-beacons @@ -64,7 +64,7 @@ end function printLog(str) if logging=="yes" then - capture("logger -t beaconmon "..str) + capture("logger -t beaconmon \""..str.."\"") else print(str) end @@ -101,7 +101,7 @@ end function mqtt_pub(path,value) res=mqtt_client:publish(path,value) - printLog("Pub "..path.." "..value.." returned "..res); + printLog("Pub "..path.." returned "..res); return res end