Skip to content

Commit

Permalink
Fix repository -> self.repository
Browse files Browse the repository at this point in the history
  • Loading branch information
LiquidFun committed Dec 25, 2023
1 parent 2f7e4e4 commit d93a336
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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=`:

Expand Down
2 changes: 1 addition & 1 deletion aoc_tiles/solutions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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, <[email protected]>"]
license = "Apache-2.0"
Expand Down

0 comments on commit d93a336

Please sign in to comment.