Spaces:
Paused
Paused
Update converter.py
Browse files- converter.py +1 -1
converter.py
CHANGED
|
@@ -120,4 +120,4 @@ def zip_single_file(path: str, base_name: str) -> str:
|
|
| 120 |
out_path = os.path.join("/tmp", f"{base_name}.zip")
|
| 121 |
with zipfile.ZipFile(out_path, "w", zipfile.ZIP_DEFLATED) as z:
|
| 122 |
z.write(path, arcname=os.path.basename(path))
|
| 123 |
-
return
|
|
|
|
| 120 |
out_path = os.path.join("/tmp", f"{base_name}.zip")
|
| 121 |
with zipfile.ZipFile(out_path, "w", zipfile.ZIP_DEFLATED) as z:
|
| 122 |
z.write(path, arcname=os.path.basename(path))
|
| 123 |
+
return out_pat
|