diff options
Diffstat (limited to 'src/util.py')
-rw-r--r-- | src/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.py b/src/util.py index d911ce8..5ca3310 100644 --- a/src/util.py +++ b/src/util.py @@ -11,7 +11,7 @@ DEFAULT_BAR_COLOR_RESET = colors.BG_BLACK + colors.CYAN def add_path(*argv): a = argv[0] for b in argv[1:]: - a = a + (b if a[-1] == "/" else f"/{b}") + a = a + ("" if a[-1] == "/" else "/") + (b[1:] if b[0] == "/" else b) return a def loading_bar(completed, total, text, |