Skip to content

Commit

Permalink
add another encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
Kludex committed Jul 17, 2023
1 parent 33d4d9e commit d039a21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bump_pydantic/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def main(
progress.advance(task)

# Visitor logic
code = Path(filename).read_text()
code = Path(filename).read_text(encoding="utf8")
module = cst.parse_module(code)
module_and_package = calculate_module_and_package(str(package), filename)

Expand Down

0 comments on commit d039a21

Please sign in to comment.