'Refactored by Sourcery'

This commit is contained in:
Sourcery AI 2020-10-13 00:07:20 +00:00
parent 08449a9c29
commit 77a15a1297

View file

@ -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']):