mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-01-10 07:58:12 +01:00
Fixed issue with .DS_Store files
This commit is contained in:
parent
dafaa06389
commit
6e94d880a0
@ -58,10 +58,12 @@ def every(colors, output_dir=CACHE_DIR):
|
||||
join = os.path.join # Minor optimization.
|
||||
|
||||
for file in os.scandir(template_dir):
|
||||
template(colors, file.path, join(output_dir, file.name))
|
||||
if file.name != '.DS_Store':
|
||||
template(colors, file.path, join(output_dir, file.name))
|
||||
|
||||
for file in os.scandir(template_dir_user):
|
||||
template(colors, file.path, join(output_dir, file.name))
|
||||
if file.name != '.DS_Store':
|
||||
template(colors, file.path, join(output_dir, file.name))
|
||||
|
||||
print("export: Exported all files.")
|
||||
print("export: Exported all user files.")
|
||||
|
Loading…
Reference in New Issue
Block a user