Skip to content

Commit

Permalink
fix decoding on output
Browse files Browse the repository at this point in the history
jschlyter committed Jun 22, 2021
1 parent be3a68d commit 4f19df4
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion base45/cli.py
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ def main() -> None:

if args.encode:
data = sys.stdin.buffer.read()
sys.stdout.write(b45encode(data))
sys.stdout.write(b45encode(data).decode())
elif args.decode:
data = sys.stdin.buffer.read()
sys.stdout.buffer.write(b45decode(data.decode()))
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 = "base45"
version = "0.2.0"
version = "0.2.1"
description = "Base45 Encoder/Decoder"
authors = ["Jakob Schlyter <jakob@kirei.se>"]
license = "BSD-2-Clause"

0 comments on commit 4f19df4

Please sign in to comment.