mirror of
https://github.com/curly60e/pyblock.git
synced 2026-08-17 13:07:17 +02:00
'Refactored by Sourcery'
This commit is contained in:
parent
08449a9c29
commit
77a15a1297
1 changed files with 2 additions and 2 deletions
|
|
@ -611,8 +611,8 @@ def localrebalancelnd():
|
|||
\t\033[2;32;40mLOCAL\033[0;37;40m BALANCE \t\033[1;31;40mREMOTE\033[0;37;40m BALANCE
|
||||
""")
|
||||
|
||||
for r in range(len(n)):
|
||||
s = n[r]
|
||||
for item in n:
|
||||
s = item
|
||||
if int(s['local_balance']) >= int(s['remote_balance']):
|
||||
total = int(s['local_balance']) - int(s['remote_balance'])
|
||||
elif int(s['local_balance']) <= int(s['remote_balance']):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue