mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-08 14:34:04 -06:00
Octoprint: Fix unicode support
This commit is contained in:
parent
1ba81655e2
commit
9ee10a8779
4 changed files with 77 additions and 38 deletions
|
@ -17,6 +17,7 @@ public:
|
|||
OctoPrint(DynamicPrintConfig *config);
|
||||
|
||||
bool test(wxString &curl_msg) const;
|
||||
// Send gcode file to octoprint, filename is expected to be in UTF-8
|
||||
bool send_gcode(const std::string &filename) const;
|
||||
private:
|
||||
std::string host;
|
||||
|
@ -25,7 +26,7 @@ private:
|
|||
|
||||
void set_auth(Http &http) const;
|
||||
std::string make_url(const std::string &path) const;
|
||||
static wxString format_error(std::string error, unsigned status);
|
||||
static wxString format_error(const std::string &error, unsigned status);
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue