Merge pull request #2 from m-d-f/patch-1

Update __init__.py
This commit is contained in:
Martin Raiber 2017-01-25 16:59:00 +01:00 committed by GitHub
commit 1f789f29bf

View File

@ -92,10 +92,10 @@ class urbackup_server:
logger.error("API call failed. Retrying...")
data = response.read();
response.close()
return json.loads(data.decode("utf-8"))
return json.loads(data.decode("utf-8","ignore"))
def _download_file(self, action, outputfn, params):