소스 검색

fix spell error

wangweimin 2 년 전
부모
커밋
a52b378c08
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      .github/workflows/lint.yml
  2. 1 1
      pywebio/session/__init__.py

+ 1 - 1
.github/workflows/lint.yml

@@ -16,7 +16,7 @@ jobs:
       - uses: codespell-project/actions-codespell@master
         with:
           ignore_words_list: datas
-          skip: "*.js,*.po,i18n.ts"
+          skip: "*.js,*.po,i18n.ts,*.json"
       - name: Set up Python ${{ matrix.python-version }}
         uses: actions/setup-python@v2
         with:

+ 1 - 1
pywebio/session/__init__.py

@@ -299,7 +299,7 @@ def hold():
 
         Since PyWebIO v1.4, in :ref:`server mode <server_mode>`, it's no need to call this function manually,
         PyWebIO will automatically hold the session for you when needed.
-        The only case to use it is to prevent the application from exiting in scrip mode.
+        The only case to use it is to prevent the application from exiting in script mode.
 
     In case you use the previous version of PyWebIO (we strongly recommend that you upgrade to the latest version),
     here is the old document for ``hold()``: