Fix import pycountry on python 3.12 without warning

Fix shadowed "babel" name
This commit is contained in:
Ozzie Isaacs
2024-09-16 17:21:39 +02:00
parent 2617fa8af4
commit d0e166140f
6 changed files with 11 additions and 19 deletions

View File

@@ -52,7 +52,7 @@ from .helper import check_valid_domain, check_email, check_username, \
edit_book_read_status, valid_password
from .pagination import Pagination
from .redirect import get_redirect_location
from .babel import get_available_locale
from .cw_babel import get_available_locale
from .usermanagement import login_required_if_no_ano
from .kobo_sync_status import remove_synced_book
from .render_template import render_title_template