diff --git a/README.md b/README.md index 541a438..ac0df08 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ with examples showing how it changes the look. | `auto` (default) | `checkmark` | `time_and_rank` | |----------------------------------------------------------|---------------------------|--------------------------------| -| `time_and_rank` if cookie is available, else `checkmark` | ![](examples/01basic.png) | ![](examples/01checkmarks.png) | +| `time_and_rank` if cookie is available, else `checkmark` | ![](examples/01checkmarks.png) | ![](examples/01basic.png) | * `--contrast-improvement-type=`: diff --git a/aoc_tiles/solutions.py b/aoc_tiles/solutions.py index 05add24..28acf3f 100644 --- a/aoc_tiles/solutions.py +++ b/aoc_tiles/solutions.py @@ -102,7 +102,7 @@ def git_is_file_tracked(self, filepath: Path): return str(filepath) in tracked_files def git_add(self, path: Path): - if repository is not None and path.exists(): + if self.repository is not None and path.exists(): self.repository.git.add(str(path)) def git_commit_amend(self): diff --git a/pyproject.toml b/pyproject.toml index dc3940d..7acd622 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "aoc-tiles" -version = "0.5.3" +version = "0.5.4" description = "Fancy Advent of Code README tiles showing the completion status of the challenges per day" authors = ["Brutenis Gliwa, "] license = "Apache-2.0"