Fixed publisher publish template name error

This commit is contained in:
Sven Heidemann 2020-11-22 00:13:56 +01:00
parent b31c0dd23c
commit e921338fe6
2 changed files with 4 additions and 4 deletions

View File

@ -1,10 +1,10 @@
# -*- coding: utf-8 -*-
"""
sh_edraft
sh_edraft common python library
~~~~~~~~~~~~~~~~~~~
Library to share common classes and models used at sh-edraft.de
:copyright: (c) 2020 sh-edraft.de
:license: MIT, see LICENSE for more details.

View File

@ -107,11 +107,11 @@ class Publisher(PublisherBase):
if name.__contains__('.'):
if template.name != name.split('.')[len(name.split('.')) - 1]:
break
continue
else:
if template.name != name:
break
continue
try:
module_file_lines: list[str] = []