mirror of
https://github.com/Garmelon/PFERD.git
synced 2026-04-13 07:55:05 +02:00
Fix function being printed
This commit is contained in:
parent
915e42fd07
commit
a879c6ab6e
3 changed files with 7 additions and 1 deletions
|
|
@ -3,6 +3,7 @@ import configparser
|
|||
from pathlib import Path
|
||||
|
||||
from ..crawl.ilias.file_templates import Links
|
||||
from ..logging import log
|
||||
from .parser import CRAWLER_PARSER, SUBPARSERS, BooleanOptionalAction, load_crawler, show_value_error
|
||||
|
||||
SUBPARSER = SUBPARSERS.add_parser(
|
||||
|
|
@ -66,6 +67,8 @@ def load(
|
|||
args: argparse.Namespace,
|
||||
parser: configparser.ConfigParser,
|
||||
) -> None:
|
||||
log.explain("Creating config for command 'kit-ilias-web'")
|
||||
|
||||
parser["crawl:ilias"] = {}
|
||||
section = parser["crawl:ilias"]
|
||||
load_crawler(args, section)
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ import argparse
|
|||
import configparser
|
||||
from pathlib import Path
|
||||
|
||||
from ..logging import log
|
||||
from .parser import CRAWLER_PARSER, SUBPARSERS, load_crawler
|
||||
|
||||
SUBPARSER = SUBPARSERS.add_parser(
|
||||
|
|
@ -49,6 +50,8 @@ def load(
|
|||
args: argparse.Namespace,
|
||||
parser: configparser.ConfigParser,
|
||||
) -> None:
|
||||
log.explain("Creating config for command 'local'")
|
||||
|
||||
parser["crawl:local"] = {}
|
||||
section = parser["crawl:local"]
|
||||
load_crawler(args, section)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue