Fixed publisher publish template name error
This commit is contained in:
parent
b31c0dd23c
commit
e921338fe6
@ -1,10 +1,10 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- 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
|
:copyright: (c) 2020 sh-edraft.de
|
||||||
:license: MIT, see LICENSE for more details.
|
:license: MIT, see LICENSE for more details.
|
||||||
|
@ -107,11 +107,11 @@ class Publisher(PublisherBase):
|
|||||||
|
|
||||||
if name.__contains__('.'):
|
if name.__contains__('.'):
|
||||||
if template.name != name.split('.')[len(name.split('.')) - 1]:
|
if template.name != name.split('.')[len(name.split('.')) - 1]:
|
||||||
break
|
continue
|
||||||
|
|
||||||
else:
|
else:
|
||||||
if template.name != name:
|
if template.name != name:
|
||||||
break
|
continue
|
||||||
|
|
||||||
try:
|
try:
|
||||||
module_file_lines: list[str] = []
|
module_file_lines: list[str] = []
|
||||||
|
Loading…
Reference in New Issue
Block a user