Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNino van Hooff <ninovanhooff@gmail.com>2020-03-20 19:31:21 +0300
committerNino van Hooff <ninovanhooff@gmail.com>2020-03-20 19:31:21 +0300
commit72a66f1358e99d634bb124d5162ea8499842437c (patch)
tree8872ec237d848ae0078cffd1210b178ea69e00d0 /plugins/CuraDrive
parent96ed85f9c0c193deeb5637a4d9dd6d36053fa1f0 (diff)
Do not use the JsonDecorator scope for binary downloads
CURA-7150
Diffstat (limited to 'plugins/CuraDrive')
-rw-r--r--plugins/CuraDrive/src/DriveApiService.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/CuraDrive/src/DriveApiService.py b/plugins/CuraDrive/src/DriveApiService.py
index fa010d915d..0c8d38ebd2 100644
--- a/plugins/CuraDrive/src/DriveApiService.py
+++ b/plugins/CuraDrive/src/DriveApiService.py
@@ -33,7 +33,7 @@ class DriveApiService:
def __init__(self) -> None:
self._cura_api = CuraApplication.getInstance().getCuraAPI()
- self._jsonCloudScope = JsonDecoratorScope(UltimakerCloudScope(CuraApplication.getInstance()))
+ self._json_cloud_scope = JsonDecoratorScope(UltimakerCloudScope(CuraApplication.getInstance()))
def getBackups(self, changed: Callable[[List[Dict[str, Any]]], None]) -> None:
def callback(reply: QNetworkReply, error: Optional["QNetworkReply.NetworkError"] = None) -> None:
@@ -55,7 +55,7 @@ class DriveApiService:
self.BACKUP_URL,
callback= callback,
error_callback = callback,
- scope=self._jsonCloudScope
+ scope=self._json_cloud_scope
)
def createBackup(self) -> None:
@@ -105,7 +105,7 @@ class DriveApiService:
url = "{}/{}".format(self.BACKUP_URL, backup_id),
callback = finishedCallback,
error_callback = errorCallback,
- scope= self._jsonCloudScope
+ scope= self._json_cloud_scope
)
@staticmethod