mirror of
https://github.com/9001/copyparty.git
synced 2026-09-24 13:50:16 +01:00
rlo always unless no or blank
This commit is contained in:
@@ -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
|
||||
"""
|
||||
),
|
||||
],
|
||||
|
||||
+3
-2
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user