Parcourir la source

Remove invalid default market context from oadrRegisterReport

Closes #45.
Stan Janssen il y a 3 ans
Parent
commit
92f07372c4
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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)