diff --git a/dotdrop/utils.py b/dotdrop/utils.py index 49b03a9..f89c122 100644 --- a/dotdrop/utils.py +++ b/dotdrop/utils.py @@ -94,6 +94,8 @@ def get_unique_tmp_name(): def remove(path, quiet=False): """remove a file/directory/symlink""" + if not path: + return if not os.path.lexists(path): if quiet: return