]> git.phdru.name Git - dotfiles.git/blobdiff - bin/zip.py
Adapt Python scripts to Python 3
[dotfiles.git] / bin / zip.py
index eebbaeb736a04c2421c9d47b5111cab424ce7948..e99c9a8283ed6829e824388994eee5a043a51652 100755 (executable)
@@ -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):