allow payloads to be saved with user ~ path expansion

This commit is contained in:
n1nj4sec 2022-11-08 10:48:48 +01:00
parent 12e8e1b1c4
commit a4b6ae95a5
1 changed files with 1 additions and 0 deletions

View File

@ -958,6 +958,7 @@ def pupygen(args, config, pupsrv, display):
delete=False
)
else:
outpath=os.path.expanduser(outpath)
try:
os.unlink(outpath)
except OSError as e: