diff options
Diffstat (limited to 'market.py')
-rw-r--r-- | market.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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) |