mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-01-24 06:48:41 +01:00
export: Cleanup
This commit is contained in:
parent
950ede3644
commit
f08e2aa38f
@ -57,13 +57,9 @@ def every(colors, output_dir=CACHE_DIR):
|
|||||||
util.create_dir(template_dir_user)
|
util.create_dir(template_dir_user)
|
||||||
|
|
||||||
join = os.path.join # Minor optimization.
|
join = os.path.join # Minor optimization.
|
||||||
|
for file in [*os.scandir(template_dir),
|
||||||
for file in os.scandir(template_dir):
|
*os.scandir(template_dir_user)]:
|
||||||
if file.name != '.DS_Store':
|
if file.name != ".DS_Store":
|
||||||
template(colors, file.path, join(output_dir, file.name))
|
|
||||||
|
|
||||||
for file in os.scandir(template_dir_user):
|
|
||||||
if file.name != '.DS_Store':
|
|
||||||
template(colors, file.path, join(output_dir, file.name))
|
template(colors, file.path, join(output_dir, file.name))
|
||||||
|
|
||||||
logging.info("Exported all files.")
|
logging.info("Exported all files.")
|
||||||
|
Loading…
Reference in New Issue
Block a user