1
mirror of https://github.com/carlospolop/PEASS-ng synced 2025-02-24 23:15:25 +01:00
This commit is contained in:
Carlos.Martin 2021-08-27 14:34:04 +01:00
parent 52ea66412a
commit a90bb41704

View File

@ -46,6 +46,7 @@ class FileRecord:
search_in = list(set(search_in + COMMON_FILE_FOLDERS))
#Check that folders to search in are specified in ROOT_FOLDER
assert all(r in ROOT_FOLDER for r in search_in)
for r in search_in:
assert r in ROOT_FOLDER, f"{r} not in {ROOT_FOLDER}"
return search_in