aboutsummaryrefslogtreecommitdiff
path: root/market.py
diff options
context:
space:
mode:
Diffstat (limited to 'market.py')
-rw-r--r--market.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/market.py b/market.py
index ac3aa14..10d1ad8 100644
--- a/market.py
+++ b/market.py
@@ -28,6 +28,9 @@ class Market:
28 for key in ["user_id", "market_id", "report_path", "pg_config"]: 28 for key in ["user_id", "market_id", "report_path", "pg_config"]:
29 setattr(self, key, kwargs.get(key, None)) 29 setattr(self, key, kwargs.get(key, None))
30 30
31 self.report.log_market(self.args, self.user_id, self.market_id,
32 self.report_path, self.debug)
33
31 @classmethod 34 @classmethod
32 def from_config(cls, config, args, **kwargs): 35 def from_config(cls, config, args, **kwargs):
33 config["apiKey"] = config.pop("key", None) 36 config["apiKey"] = config.pop("key", None)