projects
/
openhab-process.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Незначительные исправления в обработке строк
[openhab-process.git]
/
mqtt-bt
/
scan-beacons
diff --git
a/mqtt-bt/scan-beacons
b/mqtt-bt/scan-beacons
index 17e553308c15a067544f4b337a62603469215b39..fd50f9d06acdbd83d3d93f78059b8bb5ca66f630 100644
(file)
--- a/
mqtt-bt/scan-beacons
+++ b/
mqtt-bt/scan-beacons
@@
-64,7
+64,7
@@
end
function printLog(str)
if logging=="yes" then
function printLog(str)
if logging=="yes" then
- capture("logger -t beaconmon
"..str
)
+ capture("logger -t beaconmon
\""..str.."\""
)
else
print(str)
end
else
print(str)
end
@@
-101,7
+101,7
@@
end
function mqtt_pub(path,value)
res=mqtt_client:publish(path,value)
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
return res
end