compare NFD normalized paths

This commit is contained in:
j 2019-01-14 17:10:40 +05:30
commit 74586d7164
2 changed files with 5 additions and 0 deletions

View file

@ -168,6 +168,7 @@ def remove(data):
'''
if 'ids' in data and data['ids']:
for i in models.Item.query.filter(models.Item.id.in_(data['ids'])):
logger.info('remove item %s', i)
i.remove_file()
state.cache.clear('group:')
return {