Skip to content

Commit

Permalink
Fix bad encoding name
Browse files Browse the repository at this point in the history
  • Loading branch information
ocket8888 committed Oct 19, 2023
1 parent 77f2145 commit 58149f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion traffic_ops/install/bin/_postinstall.py
Original file line number Diff line number Diff line change
Expand Up @@ -1293,7 +1293,7 @@ def main(
paramconf = generate_param_conf(user_input[PARAM_CONF_FILE], PARAM_CONF_FILE, automatic, root_dir)
postinstall_cfg = os.path.join(root_dir, POST_INSTALL_CFG.lstrip('/'))
if not os.path.isfile(postinstall_cfg):
with open(postinstall_cfg, "w+", encoding="utf-88") as conf_file:
with open(postinstall_cfg, "w+", encoding="utf-8") as conf_file:
print("{}", file=conf_file)
except OSError as e:
logging.critical("Writing configuration: %s", e)
Expand Down

0 comments on commit 58149f4

Please sign in to comment.