mirror of
https://github.com/9001/copyparty.git
synced 2026-08-13 13:53:06 -06:00
rlo always unless no or blank
This commit is contained in:
parent
85a8cc99ba
commit
29e145f5e4
|
|
@ -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
|
||||
"""
|
||||
),
|
||||
],
|
||||
|
|
|
|||
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue