Capture files being extracted as well (#381)

This commit is contained in:
Daniel Markstedt 2021-10-26 13:05:49 -07:00 committed by GitHub
parent 28de92a00c
commit e5f58bb967
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -179,7 +179,7 @@ def unzip_file(file_name, member=False):
return {"status": False, "msg": stderr}
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}