diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2017-08-10 09:17:11 +1000 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2017-08-10 09:17:11 +1000 |
| commit | 05c271c3a7faf0e31c28df4a7743c8ce4369c670 (patch) | |
| tree | 4a415c27c24f9441e49f7339847e17c002623376 /pywal/sequences.py | |
| parent | 979ec3ee1025e90c536ec013aa8b8fa29bed3a21 (diff) | |
general: Remove all pathlib usage
Diffstat (limited to 'pywal/sequences.py')
| -rw-r--r-- | pywal/sequences.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pywal/sequences.py b/pywal/sequences.py index 87339d9..4844837 100644 --- a/pywal/sequences.py +++ b/pywal/sequences.py @@ -2,6 +2,7 @@ Send sequences to all open terminals. """ import glob +import os from .settings import CACHE_DIR, OS from . import util @@ -81,5 +82,5 @@ def send(colors, vte, cache_dir=CACHE_DIR): for term in glob.glob(tty_pattern): util.save_file(sequences, term) - util.save_file(sequences, cache_dir / "sequences") + util.save_file(sequences, os.path.join(cache_dir, "sequences")) print("colors: Set terminal colors.") |
