fix(genshin): handle key error
This commit is contained in:
@ -283,7 +283,7 @@ class Game(GameABC):
|
|||||||
name = "English"
|
name = "English"
|
||||||
try:
|
try:
|
||||||
voicepacks.append(VoicePackLanguage[name])
|
voicepacks.append(VoicePackLanguage[name])
|
||||||
except ValueError:
|
except (ValueError, KeyError):
|
||||||
pass
|
pass
|
||||||
return voicepacks
|
return voicepacks
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user