mirror of https://github.com/CIRCL/PyCIRCLean
Fix description string in filecheck.py
parent
27ca31ffd2
commit
8c4ed4617a
|
@ -126,7 +126,7 @@ class File(FileBase):
|
||||||
'.Trashes', '._.Trashes', '.DS_Store', '.fseventsd', '.Spotlight-V100'
|
'.Trashes', '._.Trashes', '.DS_Store', '.fseventsd', '.Spotlight-V100'
|
||||||
)
|
)
|
||||||
if self.filename in macos_hidden_files:
|
if self.filename in macos_hidden_files:
|
||||||
self.add_description('MacOS metadata file, added by MacOS to certain USB drives and directories')
|
self.add_description('MacOS metadata file, added by MacOS to USB drives and some directories')
|
||||||
self.should_copy = False
|
self.should_copy = False
|
||||||
right_to_left_override = u"\u202E"
|
right_to_left_override = u"\u202E"
|
||||||
if right_to_left_override in self.filename:
|
if right_to_left_override in self.filename:
|
||||||
|
@ -290,7 +290,6 @@ class File(FileBase):
|
||||||
if len(doc.features.embedded_packages) > 0:
|
if len(doc.features.embedded_packages) > 0:
|
||||||
self.make_dangerous('Ooxml file with embedded packages')
|
self.make_dangerous('Ooxml file with embedded packages')
|
||||||
|
|
||||||
|
|
||||||
def _libreoffice(self):
|
def _libreoffice(self):
|
||||||
"""Process a libreoffice file."""
|
"""Process a libreoffice file."""
|
||||||
# As long as there is no way to do a sanity check on the files => dangerous
|
# As long as there is no way to do a sanity check on the files => dangerous
|
||||||
|
|
Loading…
Reference in New Issue