diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-04-05 09:56:51 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-04-05 09:56:51 +0200 |
commit | a42d6cc8a49e82d851cde587fbc938b3b6364f63 (patch) | |
tree | e01688e2a4d72ffa0aaf6f278906cac9d716d0d1 /store.py | |
parent | 3b60291066e5442ce2980a6c40ea10542f24a910 (diff) | |
download | Trader-a42d6cc8a49e82d851cde587fbc938b3b6364f63.tar.gz Trader-a42d6cc8a49e82d851cde587fbc938b3b6364f63.tar.zst Trader-a42d6cc8a49e82d851cde587fbc938b3b6364f63.zip |
Refactor config parsing
Diffstat (limited to 'store.py')
-rw-r--r-- | store.py | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -222,15 +222,13 @@ class ReportStore: | |||
222 | "action": action, | 222 | "action": action, |
223 | }) | 223 | }) |
224 | 224 | ||
225 | def log_market(self, args, user_id, market_id, report_path, debug): | 225 | def log_market(self, args, user_id, market_id): |
226 | self.add_log({ | 226 | self.add_log({ |
227 | "type": "market", | 227 | "type": "market", |
228 | "commit": "$Format:%H$", | 228 | "commit": "$Format:%H$", |
229 | "args": vars(args), | 229 | "args": vars(args), |
230 | "user_id": user_id, | 230 | "user_id": user_id, |
231 | "market_id": market_id, | 231 | "market_id": market_id, |
232 | "report_path": report_path, | ||
233 | "debug": debug, | ||
234 | }) | 232 | }) |
235 | 233 | ||
236 | class BalanceStore: | 234 | class BalanceStore: |