mirror of
https://github.com/dylanaraps/pywal.git
synced 2024-11-25 17:33:09 +01:00
Merge pull request #195 from blahsd/master
Fixed issue with .DS_Store files
This commit is contained in:
commit
b5e97e591d
@ -58,9 +58,11 @@ def every(colors, output_dir=CACHE_DIR):
|
|||||||
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):
|
||||||
|
if file.name != '.DS_Store':
|
||||||
template(colors, file.path, join(output_dir, file.name))
|
template(colors, file.path, join(output_dir, file.name))
|
||||||
|
|
||||||
for file in os.scandir(template_dir_user):
|
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))
|
||||||
|
|
||||||
print("export: Exported all files.")
|
print("export: Exported all files.")
|
||||||
|
Loading…
Reference in New Issue
Block a user