Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit74 committed Aug 2, 2024
1 parent dab3cbb commit dbe9570
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- New `creator.Creator.convert_and_check_metadata` to convert metadata to bytes or str for known use cases and check proper type is passed to libzim
- Add svg2png image conversion function #113
- Add `conversion.convert_svg2png` image conversion function + support for SVG in `probing.format_for` #113
- Add `i18n.Lang` class used as typed result of i18n operations #151

## Changed

Expand Down
3 changes: 2 additions & 1 deletion src/zimscraperlib/i18n.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import locale
import pathlib
import re
from typing import Dict

import babel
import iso639
Expand Down Expand Up @@ -65,7 +66,7 @@ def setlocale(root_dir: pathlib.Path, locale_name: str):
) from exc


class Lang(dict):
class Lang(Dict):

@property
def iso_639_1(self) -> str | None:
Expand Down

0 comments on commit dbe9570

Please sign in to comment.