This commit is contained in:
Marco Kohn 2025-04-12 22:38:46 +02:00
parent 5714f7be27
commit 55b5f55246

View File

@ -150,11 +150,7 @@ class FSCLogger:
# validate fields
if conf['logfile'] == "":
invalid_fields.append('logfile')
else:
try:
test = int(conf['logfile'])
except ValueError as _:
invalid_fields.append('logfile')
if len(invalid_fields) > 0:
# return an error as at least one field seems invalid