From b9bf74f89b1d10d8f8e54863bf5442d612c85fdd Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 24 Jul 2017 22:29:20 +1000 Subject: general: Rename constants --- pywal/sequences.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pywal/sequences.py') diff --git a/pywal/sequences.py b/pywal/sequences.py index 4f14234..4e1457d 100644 --- a/pywal/sequences.py +++ b/pywal/sequences.py @@ -3,7 +3,7 @@ Send sequences to all open terminals. """ import os -from .settings import __cache_dir__ +from .settings import CACHE_DIR from . import util @@ -22,7 +22,7 @@ def set_color(index, color): return f"\033]4;{index};{color}\007" -def send(colors, vte, cache_dir=__cache_dir__): +def send(colors, vte, cache_dir=CACHE_DIR): """Send colors to all open terminals.""" # Colors 0-15. sequences = [set_color(num, color) -- cgit v1.2.3