Skip to content

Commit

Permalink
fixed: validation rule declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
pozitronik committed Oct 9, 2024
1 parent e6e358c commit 27154eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sinner/Status.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def rules(self) -> Rules:
'parameter': {'log', 'logfile'},
'attribute': 'logfile',
'default': None,
'valid': lambda attribute, value: self.init_logger(self, value), # type: ignore #see issue #123
'valid': lambda attribute, value: self.init_logger(value),
'help': 'Path to the log file'
},
{
Expand Down

0 comments on commit 27154eb

Please sign in to comment.