proper scene folder discovery
This commit is contained in:
parent
c87c517217
commit
4046e757ef
7 changed files with 94 additions and 31 deletions
|
|
@ -19,7 +19,9 @@ def crypt_dir(dir_in, key, encrypt=False, no_compress=False):
|
|||
if len(files) == 0:
|
||||
raise FileNotFoundError("No valid files found in directory: " + dir_in)
|
||||
|
||||
pcrypt = partial(crypt_file, key=key, encrypt=encrypt, no_compress=no_compress)
|
||||
pcrypt = partial(
|
||||
crypt_file, key=key, encrypt=encrypt, no_compress=no_compress
|
||||
)
|
||||
with Pool() as p:
|
||||
p.map(pcrypt, files)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue