Skip to content

Commit

Permalink
fix: Fix bug when scale argument is None
Browse files Browse the repository at this point in the history
  • Loading branch information
lewisleedev committed Dec 27, 2023
1 parent 0615d8a commit 03bdb02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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 = "nanugo"
version = "1.0.2"
version = "1.0.3"
description = "Turn your handwritten pdf sheets to Anki deck."
authors = ["Lewis Lee <[email protected]>"]
license = "GPL-3.0-or-later"
Expand Down
2 changes: 1 addition & 1 deletion src/nanugo/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def main(args=None):
inversed=parsed_args.inversed,
rows=parsed_args.rows,
image_width=image_width,
render_scale=parsed_args.scale,
render_scale=parsed_args.scale if parsed_args.scale else 1.0,
)
decks.append(deck)

Expand Down

0 comments on commit 03bdb02

Please sign in to comment.