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:
authorIan Paschal <ian.paschal@gmail.com>2018-07-02 14:53:35 +0300
committerIan Paschal <ian.paschal@gmail.com>2018-07-02 14:53:35 +0300
commitadc7fc58e9d2116f0c6f158d91134413d823fc90 (patch)
tree15666d25c3661476ea2a49381a8b5ac8f3f07e10 /plugins
parent680e98fb28e3d001938d88c8404d846119319b18 (diff)
Fixed method naming conflict
Diffstat (limited to 'plugins')
-rw-r--r--plugins/UM3NetworkPrinting/ClusterUM3OutputDevice.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/UM3NetworkPrinting/ClusterUM3OutputDevice.py b/plugins/UM3NetworkPrinting/ClusterUM3OutputDevice.py
index f21cc23904..8b3ceb7809 100644
--- a/plugins/UM3NetworkPrinting/ClusterUM3OutputDevice.py
+++ b/plugins/UM3NetworkPrinting/ClusterUM3OutputDevice.py
@@ -220,10 +220,10 @@ class ClusterUM3OutputDevice(NetworkedPrinterOutputDevice):
# If a specific printer was selected, it should be printed with that machine.
if target_printer:
target_printer = self._printer_uuid_to_unique_name_mapping[target_printer]
- parts.append(self.createFormPart("name=require_printer_name", bytes(target_printer, "utf-8"), "text/plain"))
+ parts.append(self._createFormPart("name=require_printer_name", bytes(target_printer, "utf-8"), "text/plain"))
# Add user name to the print_job
- parts.append(self.createFormPart("name=owner", bytes(self._getUserName(), "utf-8"), "text/plain"))
+ parts.append(self._createFormPart("name=owner", bytes(self._getUserName(), "utf-8"), "text/plain"))
file_name = CuraApplication.getInstance().getPrintInformation().jobName + "." + preferred_format["extension"]
@@ -232,7 +232,7 @@ class ClusterUM3OutputDevice(NetworkedPrinterOutputDevice):
output = cast(str, output).encode("utf-8")
output = cast(bytes, output)
- parts.append(self.createFormPart("name=\"file\"; filename=\"%s\"" % file_name, output))
+ parts.append(self._createFormPart("name=\"file\"; filename=\"%s\"" % file_name, output))
self._latest_reply_handler = self.postFormWithParts("print_jobs/", parts, on_finished = self._onPostPrintJobFinished, on_progress = self._onUploadPrintJobProgress)