From 7f58cc8a7a30f963bd9ea15af728a1225358285a Mon Sep 17 00:00:00 2001 From: toonn Date: Sun, 22 Dec 2019 16:35:28 +0100 Subject: Rename APPENDIX to SUFFIX --- ranger/ext/safe_path.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ranger/ext/safe_path.py b/ranger/ext/safe_path.py index ed2cf2b6..b172b577 100644 --- a/ranger/ext/safe_path.py +++ b/ranger/ext/safe_path.py @@ -3,14 +3,14 @@ import os -APPENDIX = '_' +SUFFIX = '_' def get_safe_path(dst): if not os.path.exists(dst): return dst - if not dst.endswith(APPENDIX): - dst += APPENDIX + if not dst.endswith(SUFFIX): + dst += SUFFIX if not os.path.exists(dst): return dst n = 0 -- cgit 1.4.1-2-gfad0