Skip to content

Commit fb57c69

Browse files
authored
Refine TODO comment in get_languages function
Updated TODO comment to reference a specific PR for clarity.
1 parent 1426b1a commit fb57c69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openlibrary/plugins/upstream/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,7 +722,7 @@ def strip_accents(s: str) -> str:
722722

723723
@functools.cache
724724
def get_languages(limit: int = 1000) -> dict:
725-
# TODO: fix this hack. Should be higher up like in other PR.
725+
# TODO: Once #11425 is merged in we can use the init factory instead.
726726
if not hasattr(web.ctx, 'site'):
727727
from infogami.utils.delegate import create_site
728728

0 commit comments

Comments
 (0)