diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2017-08-10 09:17:47 +1000 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2017-08-10 09:17:47 +1000 |
| commit | b1abb37f8c38e6bc6cbd89842717608e93694abf (patch) | |
| tree | 4979239ed79490ec82232287c191460ca89ae2b2 | |
| parent | 05c271c3a7faf0e31c28df4a7743c8ce4369c670 (diff) | |
general: Remove all pathlib usage
| -rw-r--r-- | pywal/reload.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pywal/reload.py b/pywal/reload.py index 76c072c..3f46004 100644 --- a/pywal/reload.py +++ b/pywal/reload.py @@ -65,7 +65,7 @@ def colors(vte, cache_dir=CACHE_DIR): """Reload the current scheme.""" sequence_file = os.path.join(cache_dir, "sequences") - if sequence_file.is_file(): + if os.path.isfile(sequence_file): sequences = "".join(util.read_file(sequence_file)) # If vte mode was used, remove the unsupported sequence. |
