From daa57f38fb9540a14593936b6886d47800abce9c Mon Sep 17 00:00:00 2001 From: Roman Bazalevskiy Date: Sun, 16 Sep 2018 19:08:15 +0300 Subject: [PATCH 1/1] =?utf8?q?=D0=9E=D0=B1=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?utf8?q?=D0=BA=D0=B0=20=D1=81=D0=BF=D0=B5=D1=86=D1=81=D0=B8=D0=BC=D0=B2?= =?utf8?q?=D0=BE=D0=BB=D0=BE=D0=B2=20=D0=B4=D0=BB=D1=8F=20=D1=83=D0=BF?= =?utf8?q?=D1=80=D0=BE=D1=89=D0=B5=D0=BD=D0=B8=D1=8F=20=D1=80=D0=B0=D0=B1?= =?utf8?q?=D0=BE=D1=82=D1=8B=20=D1=81=20OpenHAB.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- mqtt-bt/scan-beacons | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mqtt-bt/scan-beacons b/mqtt-bt/scan-beacons index 34de7dc..b73d674 100644 --- a/mqtt-bt/scan-beacons +++ b/mqtt-bt/scan-beacons @@ -49,7 +49,9 @@ end function mqtt_encode(str) if (str) then str = string.gsub (str, "\n", "") + str = string.gsub (str, ":", "-") str = string.gsub (str, "/", "-") + str = string.gsub (str, " ", "_") end return str end -- 2.34.1