Skip to content

Commit

Permalink
Add missing data_key for zimit zim-lang
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit74 committed Jun 11, 2024
1 parent 933b030 commit 6a4c862
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dispatcher/backend/src/common/schemas/offliners/zimit.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
from marshmallow import fields, validate

from common.schemas import SerializableSchema, String, StringEnum
from common.schemas.fields import (
validate_output,
validate_zim_description,
validate_zim_filename,
)
from marshmallow import fields, validate

# https://github.com/puppeteer/puppeteer/blob/main/src/common/DeviceDescriptors.ts
# https://github.com/puppeteer/puppeteer/blob/
Expand Down Expand Up @@ -167,7 +166,8 @@ class Meta:
"label": "ZIM Language",
"description": "Language metadata of ZIM (warc2zim --lang param). "
"ISO-639-3 code. Retrieved from homepage if found, fallback to `eng`",
}
},
data_key="zim-lang",
)

title = String(
Expand Down

0 comments on commit 6a4c862

Please sign in to comment.