diff options
| author | 2022-12-05 10:26:45 +0100 | |
|---|---|---|
| committer | 2022-12-05 10:26:45 +0100 | |
| commit | 8b9919f784f93bdca7335354e7eea782b397fe0c (patch) | |
| tree | 39100eada8e973faf4c5e7bf48f3e94b57f5c6e2 /aoc | |
| parent | 87f25f31adcc1a90bd99d40c5790290ecbcd7ce0 (diff) | |
| download | 2022-8b9919f784f93bdca7335354e7eea782b397fe0c.tar.gz 2022-8b9919f784f93bdca7335354e7eea782b397fe0c.tar.bz2 2022-8b9919f784f93bdca7335354e7eea782b397fe0c.zip | |
Day 5
Diffstat (limited to 'aoc')
| -rw-r--r-- | aoc/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/aoc/__init__.py b/aoc/__init__.py index 5fce415..3662e3a 100644 --- a/aoc/__init__.py +++ b/aoc/__init__.py | |||
| @@ -23,7 +23,7 @@ class BaseAssignment(ABC): | |||
| 23 | 23 | ||
| 24 | with open(file, "r") as input_file: | 24 | with open(file, "r") as input_file: |
| 25 | for line in input_file.readlines(): | 25 | for line in input_file.readlines(): |
| 26 | yield self.parse_item(line.strip()) | 26 | yield self.parse_item(line.strip("\n")) |
| 27 | 27 | ||
| 28 | def run(self, input: Iterator) -> Any: | 28 | def run(self, input: Iterator) -> Any: |
| 29 | raise NotImplementedError("Please implement run") | 29 | raise NotImplementedError("Please implement run") |
