Use new set_quarantine_path()

This commit is contained in:
2Shirt 2021-05-07 02:44:57 -06:00
parent 0baea441ae
commit b80e73a5ad
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -950,9 +950,7 @@ def run_emsisoft_cmd_scan():
log_name='EmsisoftCmd', timestamp=True, tool=True,
)
log_path.parent.mkdir(parents=True, exist_ok=True)
quarantine_path = set_local_storage_path(
'Quarantine', 'EmsisoftCmd', date=True,
)
quarantine_path = set_quarantine_path('EmsisoftCmd')
quarantine_path.mkdir(parents=True, exist_ok=True)
whitelist_path = log_path.with_suffix('.wl')