Skip to content

Commit

Permalink
[FIX]: fix error for reading csv files
Browse files Browse the repository at this point in the history
  • Loading branch information
jue-adhoc authored and zaoral committed Dec 13, 2024
1 parent 72298c3 commit ed85e81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openupgradelib/openupgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def load_data(env_or_cr, module_name, filename, idref=None, mode="init"):
pathname = os.path.join(module_name, filename)

try:
fp = tools.file_open(pathname)
fp = tools.file_open(pathname, "rb")
except OSError:
if tools.config.get("upgrade_path"):
for path in tools.config["upgrade_path"].split(","):
Expand Down

0 comments on commit ed85e81

Please sign in to comment.