Skip to content

Commit e82524e

Browse files
committed
Fix submission_type and track
* Download: Expand these fields * Transform: Expect name in 'name > en' instead of 'en' # Conflicts: # src/download.py
1 parent 05971e8 commit e82524e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/models/pretalx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class PretalxSubmission(BaseModel):
7777
@classmethod
7878
def handle_localized(cls, v) -> str | None:
7979
if isinstance(v, dict):
80-
return v.get("en")
80+
return v["name"].get("en")
8181
return v
8282

8383
@field_validator("duration", mode="before")

0 commit comments

Comments
 (0)