mirror of
https://github.com/RROrg/rr.git
synced 2025-06-21 05:51:05 +08:00
fix typo
This commit is contained in:
parent
b8b0137271
commit
68073f4a29
4
.github/workflows/update.yml
vendored
4
.github/workflows/update.yml
vendored
@ -23,7 +23,7 @@ on:
|
||||
default: true
|
||||
type: boolean
|
||||
jobs:
|
||||
build:
|
||||
configs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
@ -51,7 +51,7 @@ jobs:
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: grub
|
||||
name: configs
|
||||
path: |
|
||||
files/board/arpl/overlayfs/opt/arpl/model-configs
|
||||
rss.json
|
||||
|
@ -228,13 +228,13 @@ if __name__ == '__main__':
|
||||
isUpdateConfigs = True
|
||||
isUpdateRss = True
|
||||
|
||||
if len(sys.argv) > 2:
|
||||
if len(sys.argv) >= 2:
|
||||
try:
|
||||
isUpdateConfigs = bool(int(sys.argv[1]))
|
||||
except ValueError:
|
||||
isUpdateConfigs = bool(sys.argv[1])
|
||||
|
||||
if len(sys.argv) > 3:
|
||||
if len(sys.argv) >= 3:
|
||||
try:
|
||||
isUpdateRss = bool(int(sys.argv[2]))
|
||||
except ValueError:
|
||||
|
Loading…
x
Reference in New Issue
Block a user