Skip to content

Commit

Permalink
Merge pull request #880 from openzim/fix_fcc
Browse files Browse the repository at this point in the history
Fix wrong output flag name
  • Loading branch information
benoit74 authored Dec 8, 2023
2 parents ae32fb6 + 4f4a675 commit d25e0f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,15 @@ class Meta:
metadata={"label": "Debug", "description": "Enable verbose output"},
)

output_dir = String(
output = String(
metadata={
"label": "Output folder",
"placeholder": "/output",
"description": "Output folder for ZIM file(s). Leave it as `/output`",
},
load_default="/output",
dump_default="/output",
data_key="output-dir",
data_key="output",
validate=validate_output,
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def test_create_freecodecamp_schedule_ok(
patch_data = {
"enabled": True,
"flags": {
"output-dir": "/output",
"output": "/output",
"course": (
"regular-expressions,basic-javascript,basic-data-structures,"
"debugging,functional-programming,object-oriented-programming,"
Expand Down

0 comments on commit d25e0f0

Please sign in to comment.