浏览代码

Fixed template location bug

Stan Janssen 5 年之前
父节点
当前提交
fb14b3de8c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pyopenadr/client.py

+ 1 - 1
pyopenadr/client.py

@@ -132,7 +132,7 @@ class OpenADRClient:
 
     def poll(self):
         service = 'OadrPoll'
-        message = create_message('OadrPoll', ven_id=self.ven_id)
+        message = create_message('oadrPoll', ven_id=self.ven_id)
         response_type, response_payload = self._perform_request(service, message)
         return response_type, response_payload