mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00:00
Skip checking Repetier server name #1116
This commit is contained in:
@@ -156,7 +156,7 @@ bool Repetier::upload(PrintHostUpload upload_data, ProgressFn prorgess_fn, Error
|
|||||||
|
|
||||||
bool Repetier::validate_version_text(const boost::optional<std::string> &version_text) const
|
bool Repetier::validate_version_text(const boost::optional<std::string> &version_text) const
|
||||||
{
|
{
|
||||||
return version_text ? boost::starts_with(*version_text, "Repetier") : true;
|
return version_text ? (!version_text->empty()) : true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Repetier::set_auth(Http &http) const
|
void Repetier::set_auth(Http &http) const
|
||||||
|
|||||||
Reference in New Issue
Block a user