diff --git a/paas2/VERSION b/paas2/VERSION index f5245c66b..55fcfb7f6 100644 --- a/paas2/VERSION +++ b/paas2/VERSION @@ -1 +1 @@ -2.13.12 +2.13.13 diff --git a/paas2/paas/saas/utils.py b/paas2/paas/saas/utils.py index 28ba9720e..2679c3d30 100644 --- a/paas2/paas/saas/utils.py +++ b/paas2/paas/saas/utils.py @@ -289,12 +289,12 @@ def extract_logo_file(filename, path, saas_app_code): is_replace_applog = filecmp.cmp(logo_local_path, applogo_path) # replace saaslogo/*.png - with open(logo_local_path, "w") as logo_f: + with open(logo_local_path, "wb") as logo_f: logo_f.write(logo_content) # if user not defined it, the put into applogo if not os.path.exists(applogo_path) or is_replace_applog: - with open(applogo_path, "w") as logo_f: + with open(applogo_path, "wb") as logo_f: logo_f.write(logo_content) except Exception: message = u"%s Unzip to get app.yml failed" % filename diff --git a/paas2/release.md b/paas2/release.md index 5a759cf27..e45393a13 100644 --- a/paas2/release.md +++ b/paas2/release.md @@ -1,5 +1,8 @@ Release Log =============================== +# 2.13.13 + - bugfix: smart logo save fail + # 2.13.12 - bugfix: bkauth_user table missing will 500 after upgrade to django 1.11.29