浏览代码

Remove invalid default market context from oadrRegisterReport

Closes #45.
Stan Janssen 3 年之前
父节点
当前提交
92f07372c4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      openleadr/client.py

+ 1 - 1
openleadr/client.py

@@ -309,7 +309,7 @@ class OpenADRClient:
                                                        report_type=report_type,
                                                        sampling_rate=sampling_rate,
                                                        measurement=item_base,
-                                                       market_context='Market01')
+                                                       market_context=market_context)
         self.report_callbacks[(report.report_specifier_id, r_id)] = callback
         report.report_descriptions.append(report_description)