X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=bin%2Fzip.py;h=e99c9a8283ed6829e824388994eee5a043a51652;hb=7c8abf339f6f103cf25d5f6c0d80bc6ae8ed75b6;hp=eebbaeb736a04c2421c9d47b5111cab424ce7948;hpb=f46bd4d41cc7f243bc8a321effee5200aa69e709;p=dotfiles.git diff --git a/bin/zip.py b/bin/zip.py index eebbaeb..e99c9a8 100755 --- a/bin/zip.py +++ b/bin/zip.py @@ -22,7 +22,7 @@ if len(arguments) < 2: def addToZip(zf, path): if os.path.isfile(path): - print path + print(path) recoded_path = path.decode(default_encoding).encode('cp866') zf.write(path, recoded_path, ZIP_DEFLATED) elif os.path.isdir(path):