From de47c1beaaa77ee6f50235daba735ccc98ad608c Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 22 Jul 2017 22:26:49 +1000 Subject: api: Remove wal.py --- pywal/template.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pywal/template.py') diff --git a/pywal/template.py b/pywal/template.py index 210e45e..1cb4197 100644 --- a/pywal/template.py +++ b/pywal/template.py @@ -3,7 +3,8 @@ Export colors in various formats. """ import os -from pywal import util +from .settings import __cache_dir__ +from . import util def template(colors, input_file, output_dir): @@ -16,7 +17,7 @@ def template(colors, input_file, output_dir): print(f"export: Exported {template_name}.") -def export_all_templates(colors, output_dir, template_dir=None): +def export_all(colors, output_dir=__cache_dir__, template_dir=None): """Export all template files.""" template_dir = template_dir or \ os.path.join(os.path.dirname(__file__), "templates") -- cgit v1.2.3