Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
wjz304 committed Apr 28, 2023
1 parent b8b0137 commit 68073f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:
default: true
type: boolean
jobs:
build:
configs:
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions rssupdate.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,13 +228,13 @@ def main(isUpdateConfigs = True, isUpdateRss = True):
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:
Expand Down

0 comments on commit 68073f4

Please sign in to comment.