changeset 8 | 2025dd476ece |
parent 6 | ad4d84ea212e |
--- a/hooks/post_gen_project.py Fri Jun 02 16:02:45 2017 +0200 +++ b/hooks/post_gen_project.py Fri Jun 02 16:50:45 2017 +0200 @@ -58,7 +58,7 @@ os.chown(target, user_id, group_id) except PermissionError: print("WARNING: Can't set permissions for directory {0}".format(target)) - for filename in dirs: + for filename in files: try: target = os.path.join(VAR_DIRECTORY, root, filename) os.chown(target, user_id, group_id)