Skip to content

Commit

Permalink
Fix readfp deprecated for python3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
MarionGiusti committed Oct 15, 2024
1 parent d22ebd6 commit 7788117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/temboardui/toolkit/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def read_file(self, parser, filename):
logger.debug("Reading %s.", filename)
try:
with open(filename, "r", "utf-8") as fp:
parser.readfp(fp)
parser.read_file(fp)
except OSError as e:
raise UserError(str(e))

Expand Down

0 comments on commit 7788117

Please sign in to comment.