X-Git-Url: https://git.llucax.com/software/sercom-old.git/blobdiff_plain/cf10ff674a6eae399b2612038097de9d9b6dbaa4..28cf965313c3635a9b4914802262c888607c17e4:/src/sc_suwi 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))