Revert "Make in place mean in place"

This reverts commit 00f1cbbe28.
This commit is contained in:
d8ahazard
2019-10-25 17:31:08 -05:00
parent 00f1cbbe28
commit c2ee823095

View File

@@ -192,7 +192,9 @@ class Core(CorePluginBase):
# Override destination if in_place_extraction is set
if self.config["in_place_extraction"]:
dest = os.path.split(f["path"])[0]
name = tid_status["name"]
save_path = tid_status["download_location"]
dest = os.path.join(save_path, name)
log.info("Save path is %s, dest is %s, fpath is %s", save_path, dest, fpath)
# Create the destination folder if it doesn't exist