Give minified own FileHandler

This commit is contained in:
Ruud
2013-09-10 23:21:31 +02:00
parent 31b3c2ef64
commit 0634c79f74
2 changed files with 12 additions and 4 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ class FileManager(Plugin):
db = get_session()
for root, dirs, walk_files in os.walk(Env.get('cache_dir')):
for filename in walk_files:
if root == python_cache or 'minified' in filename or 'version' in filename or 'temp_updater' in root: continue
if root == python_cache or 'minified' in root or 'version' in filename or 'temp_updater' in root: continue
file_path = os.path.join(root, filename)
f = db.query(File).filter(File.path == toUnicode(file_path)).first()
if not f: