Skip to content
Snippets Groups Projects
Commit e4de5c19 authored by Florian Spreckelsen's avatar Florian Spreckelsen
Browse files

Merge branch 'f-move-structure-elements' into 'dev'

Refactor StructureElements Package

See merge request !195
parents 9c85e25d fadf7beb
No related branches found
No related tags found
2 merge requests!198REL: Release 0.10.0,!195Refactor StructureElements Package
Pipeline #57360 failed
# encoding: utf-8
#
# This file is a part of the LinkAhead Project.
#
# Copyright (C) 2024 Indiscale GmbH <info@indiscale.com>
# Copyright (C) 2024 Daniel Hornung <d.hornung@indiscale.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
"""Submdule containing all default and optional converters."""
from .structure_elements import *
......@@ -36,5 +36,5 @@ def dircheckstr(prefix, *pathcomponents):
ftype = "Directory"
else:
ftype = "File"
return (f"caoscrawler.structure_elements.{ftype}: " + os.path.basename(
return (f"caoscrawler.structure_elements.structure_elements.{ftype}: " + os.path.basename(
os.path.join(*pathcomponents)) + ", " + os.path.join(prefix, *pathcomponents))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment