diff options
| author | 2025-06-02 11:56:54 -0400 | |
|---|---|---|
| committer | 2025-06-02 11:56:54 -0400 | |
| commit | 0b13cf2a3bbd105fe4326e8e005536da43684df6 (patch) | |
| tree | 3dab7f55179194d9efd280a3c3f869327e485b34 /src/portal/py | |
| parent | 2fa7ea95c891981684a55b41977172d040c2cc55 (diff) | |
| download | camu-0b13cf2a3bbd105fe4326e8e005536da43684df6.tar.gz camu-0b13cf2a3bbd105fe4326e8e005536da43684df6.tar.bz2 camu-0b13cf2a3bbd105fe4326e8e005536da43684df6.zip | |
Improve renderer api, misc cleanup
Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/portal/py')
| -rw-r--r-- | src/portal/py/post.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/portal/py/post.py b/src/portal/py/post.py index f173d0e..f83f1f0 100644 --- a/src/portal/py/post.py +++ b/src/portal/py/post.py @@ -63,7 +63,7 @@ def default_url_ext_guess(url: str) -> str: class Url(): url: str ext: str - def __init__(self, url: str, ext: str = None) -> None: + def __init__(self, url: str, ext: Optional[str] = None) -> None: self.url = url if not ext: ext = default_url_ext_guess(url) |