mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-02-18 03:01:03 +01:00
general: Remove all pathlib usage
This commit is contained in:
parent
05c271c3a7
commit
b1abb37f8c
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user