From ce19a1723464697b57bb5e90ae648a9155136899 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Thu, 12 Dec 2019 21:59:48 -0500 Subject: [PATCH] Added missing languages function loading. --- bazarr/api.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bazarr/api.py b/bazarr/api.py index f80d47fea..e9743089b 100644 --- a/bazarr/api.py +++ b/bazarr/api.py @@ -15,7 +15,9 @@ from init import * import logging from database import database, dict_mapper from helper import path_replace, path_replace_reverse, path_replace_movie, path_replace_reverse_movie -from get_languages import alpha2_from_language, alpha3_from_language +from get_languages import load_language_in_db, alpha2_from_language, alpha3_from_language + +load_language_in_db() class Series(Resource): def get(self):