FIX:fixed the crash caused by file transfer
jira:[none] Change-Id: Ice1461eff200219792e4fb8b20aa36c0c176cd6f
This commit is contained in:
parent
aaff1d6bd0
commit
38e784dd49
|
@ -1102,6 +1102,10 @@ boost::uint32_t PrinterFileSystem::RequestMediaAbility(int api_version)
|
|||
|
||||
void PrinterFileSystem::RequestUploadFile()
|
||||
{
|
||||
if (!m_upload_file) {
|
||||
return;
|
||||
}
|
||||
|
||||
json req;
|
||||
req["type"] = "model";
|
||||
req["storage"] = m_upload_file->select_storage;
|
||||
|
|
Loading…
Reference in New Issue