mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
78d4515e63
commit
3e5028e275
@ -377,6 +377,10 @@ RAR_process_item(RARArchive *self, PyObject *args) {
|
||||
PyErr_SetString(UNRARError, "This file is locked with a password.");
|
||||
return NULL;
|
||||
}
|
||||
if (self->archive->NewLhd.Flags & LHD_SPLIT_AFTER) {
|
||||
PyErr_SetString(UNRARError, "This file is part of a multivolume RAR archive.");
|
||||
return NULL;
|
||||
}
|
||||
self->DataIO.UnpVolume = false;
|
||||
self->DataIO.NextVolumeMissing=false;
|
||||
self->DataIO.CurUnpRead=0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user