Skip to content

Commit

Permalink
Significant leading whitespace getting stripped is an issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
salt-die committed Dec 5, 2022
1 parent a734146 commit 7a885f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aoc_lube/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"utils",
)

__version__ = "0.2.4"
__version__ = "0.2.5"

CONFIG_DIR = Path.home() / ".aoc_lube"
if not CONFIG_DIR.exists():
Expand Down Expand Up @@ -95,7 +95,7 @@ def fetch(year: int, day: int) -> str:
raise ValueError("Request failed.")

# Save input data
inputs[str(day)] = response.text.strip()
inputs[str(day)] = response.text.rstrip()
input_file.write_text(tomlkit.dumps(inputs))

return inputs[str(day)]
Expand Down

0 comments on commit 7a885f7

Please # to comment.