Merge branch '2022.12' into #148

This commit is contained in:
Sven Heidemann 2022-12-23 16:35:24 +01:00
commit 12beea05a7

View File

@ -64,7 +64,7 @@ class PublisherService(PublisherABC):
:return: :return:
""" """
if self._src_path_part in file: if self._src_path_part in file:
file = file.replace(self._src_path_part, '', 1) file = file.split(self._src_path_part)[1].replace(self._src_path_part, '', 1)
dirs = os.path.dirname(file).split(self._path_mark) dirs = os.path.dirname(file).split(self._path_mark)
for d in dirs: for d in dirs: