diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2018-03-04 08:37:18 +1100 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2018-03-04 08:37:18 +1100 |
| commit | da893b6a380fcee6cc0b6bc15251352ab10c0994 (patch) | |
| tree | 471ff43dbadf9839e7bdce4ef81fb080cb850a94 | |
| parent | fdec2b3a3c45a979b059662a7d1429d53214acc1 (diff) | |
| parent | b5e97e591d188ef5674292af4f8c6ae7324dde02 (diff) | |
Merge branch 'master' of github.com:dylanaraps/pywal
| -rw-r--r-- | pywal/export.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pywal/export.py b/pywal/export.py index 665bdf9..120150d 100644 --- a/pywal/export.py +++ b/pywal/export.py @@ -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.") |
