Skip checking Repetier server name #1116

This commit is contained in:
SoftFever 2023-05-24 00:27:29 +08:00
parent ab5e7f7de8
commit 442c232323

View file

@ -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
{
return version_text ? boost::starts_with(*version_text, "Repetier") : true;
return version_text ? (!version_text->empty()) : true;
}
void Repetier::set_auth(Http &http) const