diff --git a/copyparty/__main__.py b/copyparty/__main__.py index 8e837cc4..b3904031 100644 --- a/copyparty/__main__.py +++ b/copyparty/__main__.py @@ -1042,7 +1042,7 @@ def get_sects(): .1 = when necessary, append a dot followed by a single digit .1! = counter is always added, even when not necessary -3 = a hyphen followed by three-digit counter - (blank) = disable counter; overwrite existing logfile + no = disable counter; overwrite existing logfile """ ), ], diff --git a/copyparty/svchub.py b/copyparty/svchub.py index 4b653ce8..66bff686 100644 --- a/copyparty/svchub.py +++ b/copyparty/svchub.py @@ -233,9 +233,10 @@ class SvcHub(object): self.lo1 = self.lo2 = "" if args.lo: - if "%" in args.lo and "%R" not in args.lo: + if "%R" not in args.lo: args.lo += "%R" - if not args.rlo: + if args.rlo in ("", "no"): + args.rlo = "" args.lo = args.lo.replace("%R", "") try: self.lo1, self.lo2 = args.lo.split("%R")