diff --git a/src/var/lib/tyto/program/dom.py b/src/var/lib/tyto/program/dom.py index 96d47b2..21b8eec 100644 --- a/src/var/lib/tyto/program/dom.py +++ b/src/var/lib/tyto/program/dom.py @@ -165,6 +165,8 @@ if not hole: corrupt = True if not args.target in args.pass_targets: + if args.target.startswith("articles/"): + args.target = args.target.rsplit("articles/")[1] args.target = user_uri_dir + args.target # For logs: show uri if not shortname known