Fix check for nonexistent ilias_url command attribute to base_url (#113)

This commit is contained in:
PinieP 2025-05-05 22:05:54 +02:00 committed by GitHub
parent 77a23265a9
commit 8caad0008d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,8 +45,8 @@ def load(
load_crawler(args, section) load_crawler(args, section)
section["type"] = COMMAND_NAME section["type"] = COMMAND_NAME
if args.ilias_url is not None: if args.base_url is not None:
section["base_url"] = args.ilias_url section["base_url"] = args.base_url
if args.client_id is not None: if args.client_id is not None:
section["client_id"] = args.client_id section["client_id"] = args.client_id