Skip to content

Commit

Permalink
Other way around: if wip is set -> include wip rows
Browse files Browse the repository at this point in the history
  • Loading branch information
ollimeier committed Oct 23, 2024
1 parent 3e25eec commit f42a1c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/rebuild_languages.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def main(wip):
languageStrings[languageCode] = strings = {}

for row in rows:
if wip and row[0] == "WIP":
if not wip and row[0] == "WIP":
# Skip rows marked as work in progress
continue

Expand Down Expand Up @@ -148,7 +148,7 @@ def main(wip):
description="Script to rebuild the language files from the Google Sheet"
)
parser.add_argument(
"--wip", action="store_true", required=False, help="Flag to skip WIP rows"
"--wip", action="store_true", required=False, help="Flag include WIP rows"
)
args = parser.parse_args()
main(args.wip)

0 comments on commit f42a1c5

Please sign in to comment.