mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-06-23 11:01:31 +02:00
fix lint warning: line length
This commit is contained in:
parent
60810a5225
commit
9a2aaad379
@ -14,7 +14,8 @@ def template_jinja(colors, input_file, output_file=None):
|
|||||||
"""Read template file, process jinja2 template and
|
"""Read template file, process jinja2 template and
|
||||||
save the file elsewhere."""
|
save the file elsewhere."""
|
||||||
data = util.read_file_raw(input_file)
|
data = util.read_file_raw(input_file)
|
||||||
util.save_file(Template("".join(data)).render(**colors), output_file.replace(".jinja", ""))
|
tpl = Template("".join(data))
|
||||||
|
util.save_file(tpl.render(**colors), output_file.replace(".jinja", ""))
|
||||||
|
|
||||||
|
|
||||||
def template(colors, input_file, output_file=None):
|
def template(colors, input_file, output_file=None):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user