Skip to content

Commit

Permalink
Fixed network issues from preventing Bazarr startup.
Browse files Browse the repository at this point in the history
  • Loading branch information
morpheus65535 committed Mar 9, 2022
1 parent 332a426 commit d384b93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bazarr/utils.py
Expand Up @@ -24,7 +24,6 @@
from subliminal_patch.core import get_subtitle_path
from subzero.language import Language
from subliminal import region as subliminal_cache_region
from deep_translator import GoogleTranslator
from dogpile.cache import make_region
import datetime
import glob
Expand Down Expand Up @@ -442,6 +441,8 @@ def subtitles_apply_mods(language, subtitle_path, mods):


def translate_subtitles_file(video_path, source_srt_file, to_lang, forced, hi):
from deep_translator import GoogleTranslator

language_code_convert_dict = {
'he': 'iw',
'zt': 'zh-cn',
Expand Down

0 comments on commit d384b93

Please sign in to comment.