Update Matter_HTTP_remote.be (#18719)

Fix log message for MTR HTTP sync/async request
This commit is contained in:
Ludovic BOUÉ 2023-05-23 19:26:30 +02:00 committed by GitHub
parent 8969bc66e2
commit f2edb2fb3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@ class Matter_HTTP_remote : Matter_HTTP_async
# returns nil if no network
def begin(cmd)
import string
tasmota.log(string.format("MTR: HTTP async request 'http://%s:%i/%s'", self.addr, self.port, cmd), 3)
tasmota.log(string.format("MTR: HTTP async request 'http://%s:%i%s'", self.addr, self.port, cmd), 3)
return super(self).begin(cmd)
end
@ -56,7 +56,7 @@ class Matter_HTTP_remote : Matter_HTTP_async
# returns the payload as string
def begin_sync(cmd, timeout)
import string
tasmota.log(string.format("MTR: HTTP sync request 'http://%s:%i/%s'", self.addr, self.port, cmd), 3)
tasmota.log(string.format("MTR: HTTP sync request 'http://%s:%i%s'", self.addr, self.port, cmd), 3)
return super(self).begin_sync(cmd, timeout)
end