From d45e92bd0b51ca73268f677ecc9b9f65aa26cbe1 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Thu, 31 Mar 2005 01:27:20 +0000 Subject: [PATCH] Bugfix. (nombre de archivo mal formado) --- src/sc_suwi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sc_suwi b/src/sc_suwi index fe9c5fc..f35090d 100755 --- a/src/sc_suwi +++ b/src/sc_suwi @@ -246,7 +246,7 @@ def zip(req, entrega_id): def zip_path(path, base, zipfd): paths = os.listdir(path) for p in paths: - if os.path.isdir(p): + if os.path.isdir(os.path.join(path, p)): zip_path(os.path.join(path, p), os.path.join(base, p), zipfd) else: zipfd.write(os.path.join(path, p), os.path.join(base, p)) -- 2.43.0