From 7023b135b4f1c76414ca9bdb6456ef4dc5d12ef9 Mon Sep 17 00:00:00 2001 From: KevinMidboe Date: Tue, 27 Jun 2017 15:48:25 -0600 Subject: [PATCH] Now all subfiles also have their permission chagned. --- moveSeasoned.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/moveSeasoned.py b/moveSeasoned.py index c3995a8..27f9386 100755 --- a/moveSeasoned.py +++ b/moveSeasoned.py @@ -3,7 +3,7 @@ # @Author: KevinMidboe # @Date: 2017-04-12 23:27:51 # @Last Modified by: KevinMidboe -# @Last Modified time: 2017-06-27 15:37:26 +# @Last Modified time: 2017-06-27 15:48:00 import sys, sqlite3, json, os import logging @@ -75,6 +75,8 @@ def moveStray(strayId): logging.warning(ep.typeDir('parent', mergeItem=item) + 'does not exist, cannot be removed.') fix_ownership(ep.typeDir('episode')) + for item in ep.typeDir('episode'): + fix_ownership(item) # TODO because we might jump over same files, the dir might no longer