Browse Source

fix spell error

wangweimin 2 years ago
parent
commit
a52b378c08
2 changed files with 2 additions and 2 deletions
  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()``: