update
This commit is contained in:
parent
5714f7be27
commit
55b5f55246
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user