diff --git a/copyparty/util.py b/copyparty/util.py index aab7ed78..8cf0110c 100644 --- a/copyparty/util.py +++ b/copyparty/util.py @@ -1193,7 +1193,7 @@ def ren_open( else: fpath = fname - if suffix and os.path.exists(fsenc(fpath)): + if suffix and os.path.lexists(fsenc(fpath)): fpath += suffix fname += suffix ext += suffix