aboutsummaryrefslogtreecommitdiff
path: root/store.py
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-04-05 09:56:51 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-04-05 09:56:51 +0200
commita42d6cc8a49e82d851cde587fbc938b3b6364f63 (patch)
treee01688e2a4d72ffa0aaf6f278906cac9d716d0d1 /store.py
parent3b60291066e5442ce2980a6c40ea10542f24a910 (diff)
downloadTrader-a42d6cc8a49e82d851cde587fbc938b3b6364f63.tar.gz
Trader-a42d6cc8a49e82d851cde587fbc938b3b6364f63.tar.zst
Trader-a42d6cc8a49e82d851cde587fbc938b3b6364f63.zip
Refactor config parsing
Diffstat (limited to 'store.py')
-rw-r--r--store.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/store.py b/store.py
index 3f3718f..67e8a8f 100644
--- a/store.py
+++ b/store.py
@@ -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
236class BalanceStore: 234class BalanceStore: