Merge pull request #191 from curly60e/sourcery/curly60e-patch-121

Input after Rebalance (Sourcery refactored)
This commit is contained in:
curly60e 2020-10-12 21:19:04 -03:00 committed by GitHub
commit 9687bc494b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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