Fix bad-whitespace errors found by pylint

This commit is contained in:
Frederic Junod 2017-10-13 17:06:18 +02:00
parent 7af57c7fc4
commit 57204a215e
23 changed files with 66 additions and 66 deletions

View file

@ -20,7 +20,7 @@ import bumblebee.input
import bumblebee.output
import bumblebee.engine
from requests.exceptions import RequestException
def getfromkrak(coin,currency):
def getfromkrak(coin, currency):
abbrev = {
"Btc": ["xbt", "XXBTZ"],
"Eth": ["eth", "XETHZ"],
@ -63,11 +63,11 @@ class Module(bumblebee.engine.Module):
currency = self._getcur
btcprice, ethprice, ltcprice = "", "", ""
if self._getbtc:
btcprice= getfromkrak('Btc',currency)
btcprice = getfromkrak('Btc', currency)
if self._geteth:
ethprice=getfromkrak('Eth',currency)
ethprice = getfromkrak('Eth', currency)
if self._getltc:
ltcprice=getfromkrak('Ltc',currency)
ltcprice = getfromkrak('Ltc', currency)
self._curprice = btcprice+" "*(self._getbtc*self._geteth)+ethprice+" "*(self._getltc*max(self._getbtc, self._geteth))+ltcprice
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4