Browse Source

Wrong indentation and log arguments

fix #5297
pull/5312/head
Ruud 10 years ago
parent
commit
cea379bf3f
  1. 2
      couchpotato/core/downloaders/hadouken.py

2
couchpotato/core/downloaders/hadouken.py

@ -254,7 +254,7 @@ class JsonRpcClient(object):
obj = json.loads(response)
if 'error' in obj.keys():
log.error('JSONRPC error, %s: %s', obj['error']['code'], obj['error']['message'])
log.error('JSONRPC error, %s: %s', (obj['error']['code'], obj['error']['message']))
return False
if 'result' in obj.keys():

Loading…
Cancel
Save