mirror of
https://github.com/r4sas/py-i2phosts
synced 2025-01-22 20:44:55 +00:00
py-i2phosts-checker: optionally run fetcher/maint/builder
This commit is contained in:
parent
be103aeb7a
commit
26a87c4bb1
@ -66,7 +66,13 @@ def run_prog(prog):
|
||||
|
||||
def main():
|
||||
while True:
|
||||
if config.as_bool('run_fetcher'):
|
||||
run_prog('py-i2phosts-fetcher')
|
||||
check()
|
||||
if config.as_bool('run_maint'):
|
||||
run_prog('py-i2phosts-maint')
|
||||
if config.as_bool('run_builder'):
|
||||
run_prog('py-i2phosts-builder')
|
||||
if args.debug or args.verbose:
|
||||
sys.exit(0)
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user