Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
stustanet
lustmolch
Commits
d8f39b69
Commit
d8f39b69
authored
Mar 15, 2020
by
Michael Loipführer
Browse files
fix template loading
parent
beb1fd51
Pipeline
#351
passed with stages
in 1 minute and 16 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
lustmolch/lustmolch.py
View file @
d8f39b69
...
...
@@ -12,7 +12,7 @@ from .config import config, DEFAULT_TEMPLATE_DIR
logging
.
basicConfig
(
format
=
'%(levelname)s:%(message)s'
,
level
=
config
[
'log_level'
])
env
=
Environment
(
loader
=
PackageLoader
(
'lustmolch'
,
str
(
Path
(
__file__
).
parent
/
'templates'
))
)
env
=
Environment
(
loader
=
PackageLoader
(
'lustmolch'
,
'templates'
))
cfg_template
=
namedtuple
(
'cfg_template'
,
[
'source'
,
'path'
,
'filename'
])
template_files_host
=
[
...
...
setup.py
View file @
d8f39b69
from
setuptools
import
setup
VERSION
=
'1.0.
4
'
VERSION
=
'1.0.
5
'
AUTHOR
=
'Michael Loipführer'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment