diff --git a/pupy/cli/pupygen.py b/pupy/cli/pupygen.py index 854b087c..ed706597 100755 --- a/pupy/cli/pupygen.py +++ b/pupy/cli/pupygen.py @@ -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: