Skip to content

Commit

Permalink
Python 3.7 to 3.11 in Cloudflare (#736)
Browse files Browse the repository at this point in the history
* Python 3.7 to 3.11.

Python 3.7 does not work properly in Cloudflare, whereas Python 3.11 does.

* fix: also for README-CN

Signed-off-by: yihong0618 <zouzou0208@gmail.com>

---------

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Co-authored-by: yihong0618 <zouzou0208@gmail.com>
  • Loading branch information
dafengy and yihong0618 authored Nov 19, 2024
1 parent afe2b25 commit 46473b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -1071,7 +1071,7 @@ python3(python) run_page/gen_svg.py --from-db --type circular --use-localtime

5. 下滑点击 `环境变量 (高级)`,并添加一个如下的变量:

> 变量名称 = `PYTHON_VERSION`, 值 = `3.8`
> 变量名称 = `PYTHON_VERSION`, 值 = `3.11`
6. 点击 `保存并部署`,完成部署。

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ For more display effects, see:

5. Scroll down, click `Environment variables (advanced)`, then add a variable like the below:

> Variable name = `PYTHON_VERSION`, Value = `3.7`
> Variable name = `PYTHON_VERSION`, Value = `3.11`
6. Click `Save and Deploy`

Expand Down

0 comments on commit 46473b6

Please sign in to comment.