Commit 228ac6e1 authored by Muri Nicanor's avatar Muri Nicanor

added check for readaccess to file

parent 1be8f43e
......@@ -330,6 +330,8 @@ non-anonymised) file to output archive'))
for item in filelist:
if os.path.splitext(item)[1] in parser.NOMETA:
store.append([os.path.basename(item), _('Harmless fileformat')])
elif not os.access(item, os.R_OK):
store.append([os.path.basename(item), _('Cant read file')])
store.append([os.path.basename(item), _('Fileformat not supported')])
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment