From 05c271c3a7faf0e31c28df4a7743c8ce4369c670 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 10 Aug 2017 09:17:11 +1000 Subject: general: Remove all pathlib usage --- pywal/sequences.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pywal/sequences.py') 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.") -- cgit v1.2.3