mirror of
https://github.com/bellingcat/auto-archiver.git
synced 2026-06-11 20:58:29 +03:00
Fix up config validation, and allow for custom 'validators'
This commit is contained in:
5
src/auto_archiver/core/validators.py
Normal file
5
src/auto_archiver/core/validators.py
Normal file
@@ -0,0 +1,5 @@
|
||||
# used as validators for config values.
|
||||
|
||||
def example_validator(value):
|
||||
return "example" in value
|
||||
|
||||
Reference in New Issue
Block a user