Explorar o código

Remove invalid default market context from oadrRegisterReport

Closes #45.
Stan Janssen %!s(int64=3) %!d(string=hai) anos
pai
achega
92f07372c4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)