From 29830c5cf05fb4c6d9e523c46d2e0ab796a11117 Mon Sep 17 00:00:00 2001 From: pengshiyu <1940607002@qq.com> Date: Tue, 11 Jul 2023 10:18:21 +0800 Subject: [PATCH] auto release --- domain_admin/version.py | 2 +- version-cli/auto_release.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/domain_admin/version.py b/domain_admin/version.py index 9bf4b007f1..d4656fc47f 100755 --- a/domain_admin/version.py +++ b/domain_admin/version.py @@ -7,5 +7,5 @@ """ from __future__ import print_function, unicode_literals, absolute_import, division -VERSION = '1.4.32' +VERSION = '1.4.33' diff --git a/version-cli/auto_release.py b/version-cli/auto_release.py index a936a26f65..62d170b63e 100644 --- a/version-cli/auto_release.py +++ b/version-cli/auto_release.py @@ -36,7 +36,7 @@ def read_file(filename): def write_file(filename, text): - with open(filename, 'w') as f: + with io.open(filename, 'w', encoding='utf-8') as f: f.write(text)