diff --git a/plugins/CuraDrive/src/DriveApiService.py b/plugins/CuraDrive/src/DriveApiService.py index 2248b64389..754069dc9b 100644 --- a/plugins/CuraDrive/src/DriveApiService.py +++ b/plugins/CuraDrive/src/DriveApiService.py @@ -43,6 +43,10 @@ class DriveApiService: return backup_list_response = HttpRequestManager.readJSON(reply) + if backup_list_response is None: + Logger.error("List of back-ups can't be parsed.") + changed([]) + return if "data" not in backup_list_response: Logger.log("w", "Could not get backups from remote, actual response body was: %s", str(backup_list_response))