mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-28 01:42:01 +08:00
Skip checking Repetier server name #1116
This commit is contained in:
parent
ab5e7f7de8
commit
442c232323
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user