diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-09 22:15:03 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-09 22:15:03 +1000 |
| commit | 52dfdb97ecad6c1a9bab3dfdb9996557e77a0a1e (patch) | |
| tree | 343af728bb217145d7bae4419e016ef2b98c25f6 /src/data.py | |
| parent | parser: add func to run with args (diff) | |
| download | caelestia-cli-52dfdb97ecad6c1a9bab3dfdb9996557e77a0a1e.tar.gz caelestia-cli-52dfdb97ecad6c1a9bab3dfdb9996557e77a0a1e.tar.bz2 caelestia-cli-52dfdb97ecad6c1a9bab3dfdb9996557e77a0a1e.zip | |
feat: add shell commands
Also switch to classes
Diffstat (limited to 'src/data.py')
| -rw-r--r-- | src/data.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data.py b/src/data.py index f5fbe6e..caa78f1 100644 --- a/src/data.py +++ b/src/data.py @@ -96,7 +96,7 @@ def get_scheme_colours() -> dict[str, str]: if scheme_colours is None: scheme_colours = { - k.strip(): v.strip() for k, v in (line.split(" ") for line in get_scheme_path().read_text().split("\n")) + k.strip(): v.strip() for k, v in (line.split(" ") for line in get_scheme_path().read_text().splitlines()) } return scheme_colours |