mirror of
https://github.com/uroni/urbackup-server-python-web-api-wrapper.git
synced 2025-10-26 11:38:16 +00:00
commit
1f789f29bf
@ -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):
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user