This commit is contained in:
ArsenArsen 2017-06-18 23:23:53 +02:00
parent 2c87b12563
commit 9fddb5a678
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ CustomUploader::CustomUploader(QString absFilePath) {
if (!bool64.isNull() && !bool64.isUndefined()) {
if (!bool64.isBool()) error(absFilePath, "base64 must be boolean");
base64 = bool64.toBool();
if (rFormat = RequestFormat::JSON && !base64) error(absFilePath, "base64 required with json");
if (rFormat == RequestFormat::JSON && !base64) error(absFilePath, "base64 required with json");
}
}