Skip to content

Commit 1f789f2

Browse files
authored
Merge pull request #2 from m-d-f/patch-1
Update __init__.py
2 parents 4d7b948 + 1dee23d commit 1f789f2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

urbackup_api/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ def _get_json(self, action, params = {}):
9292
logger.error("API call failed. Retrying...")
9393

9494
data = response.read();
95-
95+
9696
response.close()
9797

98-
return json.loads(data.decode("utf-8"))
98+
return json.loads(data.decode("utf-8","ignore"))
9999

100100
def _download_file(self, action, outputfn, params):
101101

0 commit comments

Comments
 (0)