diff --git a/smarthome.py b/smarthome.py index cf53e97..73bac92 100644 --- a/smarthome.py +++ b/smarthome.py @@ -750,7 +750,7 @@ def syncDevices_post(self, s): raise SmartHomeError(ERR_PROTOCOL_ERROR, 'not authorized access!!') r = self.forceDevicesSync() - s.send_message(200, 'Synchronization request sent, status_code: ' + st + s.send_message(200, 'Synchronization request sent, status_code: ' + st(r)) def notification_post(self, s): logger.debug(s.headers)