mirror of
https://github.com/akuker/RASCSI.git
synced 2024-12-21 23:29:39 +00:00
Capture files being extracted as well (#381)
This commit is contained in:
parent
28de92a00c
commit
e5f58bb967
@ -179,7 +179,7 @@ def unzip_file(file_name, member=False):
|
|||||||
return {"status": False, "msg": stderr}
|
return {"status": False, "msg": stderr}
|
||||||
|
|
||||||
from re import findall
|
from re import findall
|
||||||
unzipped = findall("inflating:(.+)\n", unzip_proc.stdout.decode("utf-8"))
|
unzipped = findall("(?:inflating|extracting):(.+)\n", unzip_proc.stdout.decode("utf-8"))
|
||||||
return {"status": True, "msg": unzipped}
|
return {"status": True, "msg": unzipped}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user