Browse Source

Remove invalid default market context from oadrRegisterReport

Closes #45.
Stan Janssen 3 years ago
parent
commit
92f07372c4
1 changed files with 1 additions and 1 deletions
  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)