diff options
Diffstat (limited to 'aoc')
| -rw-r--r-- | aoc/__init__.py | 2 | ||||
| -rw-r--r-- | aoc/__main__.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/aoc/__init__.py b/aoc/__init__.py index b07ead1..70c3ac0 100644 --- a/aoc/__init__.py +++ b/aoc/__init__.py | |||
| @@ -4,7 +4,7 @@ from collections import Iterator | |||
| 4 | from typing import Generator, Any | 4 | from typing import Generator, Any |
| 5 | 5 | ||
| 6 | 6 | ||
| 7 | class AssignmentBase(ABC): | 7 | class BaseAssignment(ABC): |
| 8 | def __init__(self, path): | 8 | def __init__(self, path): |
| 9 | self.path = path | 9 | self.path = path |
| 10 | 10 | ||
diff --git a/aoc/__main__.py b/aoc/__main__.py index da0496e..8c6a21e 100644 --- a/aoc/__main__.py +++ b/aoc/__main__.py | |||
| @@ -26,4 +26,4 @@ if __name__ == '__main__': | |||
| 26 | Assignment = getattr(assignment_day, f'Assignment{args.part}') | 26 | Assignment = getattr(assignment_day, f'Assignment{args.part}') |
| 27 | assignment = Assignment(path=os.path.dirname(assignment_day.__file__)) | 27 | assignment = Assignment(path=os.path.dirname(assignment_day.__file__)) |
| 28 | 28 | ||
| 29 | print(assignment.run(input=assignment.read_input())) | 29 | print(assignment.run(input=assignment.read_input(example=args.example))) |
