diff options
| author | Dylan Araps <[email protected]> | 2018-03-04 08:19:19 +1100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-03-04 08:19:19 +1100 |
| commit | b5e97e591d188ef5674292af4f8c6ae7324dde02 (patch) | |
| tree | daf39e8cee3cc8c86795a5b0476eda08adc48bce | |
| parent | export: Added octal support. Closes #193 (diff) | |
| parent | Fixed issue with .DS_Store files (diff) | |
| download | pywal-b5e97e591d188ef5674292af4f8c6ae7324dde02.tar.xz pywal-b5e97e591d188ef5674292af4f8c6ae7324dde02.zip | |
Merge pull request #195 from blahsd/master
Fixed issue with .DS_Store files
| -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.") |