Skip to content

Commit 09f39d8

Browse files
hajdboJacobPlaster
authored andcommitted
clean pylint result
1 parent d64d04a commit 09f39d8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

bfxapi/models/ledger.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class LedgerModel:
77
Enum used to index the location of each value in a raw array
88
"""
99
ID = 0
10-
CURRENCY=1
10+
CURRENCY = 1
1111
MTS = 3
1212
AMOUNT = 5
1313
BALANCE = 6
@@ -26,8 +26,6 @@ class Ledger:
2626
DESCRIPTION
2727
"""
2828

29-
# [2794967447, 'USD', None, 1588004822000, None, -8.6166026, 4299.6846957, None, 'Trading fees for 4303.997301 UST (USTUSD) @ 1.001 on BFX (0.2%) on wallet exchange'],
30-
3129
def __init__(self, currency, mts, amount, balance, description):
3230
self.currency = currency
3331
self.mts = mts
@@ -46,7 +44,7 @@ def from_raw_ledger(raw_ledger):
4644
mts = raw_ledger[LedgerModel.MTS]
4745
amount = raw_ledger[LedgerModel.AMOUNT]
4846
balance = raw_ledger[LedgerModel.BALANCE]
49-
description = raw_ledger[LedgerModel.DESCRIPTION]
47+
description = raw_ledger[LedgerModel.DESCRIPTION]
5048
return Ledger(currency, mts, amount, balance, description)
5149

5250
def __str__(self):

0 commit comments

Comments
 (0)