mirror of
https://github.com/rommapp/romm.git
synced 2026-02-18 00:27:41 +01:00
Fix 7z extraction of file ending/starting with whitespace
This commit is contained in:
@@ -44,7 +44,7 @@ def process_file_7z(
|
||||
for line in lines:
|
||||
line = line.lstrip()
|
||||
if line.startswith("Path = "):
|
||||
current_file = line.split(" = ", 1)[1].strip()
|
||||
current_file = line.split(" = ", 1)[1]
|
||||
current_size = 0
|
||||
elif line.startswith("Size = "):
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user