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,10 +58,12 @@ 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):
|
||||||
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):
|
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 files.")
|
||||||
print("export: Exported all user files.")
|
print("export: Exported all user files.")
|
||||||
|
Loading…
Reference in New Issue
Block a user