Skip to content

Commit

Permalink
Update StarRailCard.py
Browse files Browse the repository at this point in the history
Signed-off-by: Deviant <[email protected]>
  • Loading branch information
DEViantUA authored Mar 27, 2024
1 parent 8c925b2 commit cfb732c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions starrailcard/src/model/StarRailCard.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@
from pydantic import BaseModel
from PIL import Image
from typing import List ,Optional,Final, Union
from moviepy.editor import ImageSequenceClip

try:
from moviepy.editor import ImageSequenceClip
except:
pass

import numpy as np

from ..tools.ukrainization import TranslateDataManager
Expand Down Expand Up @@ -131,4 +136,4 @@ def get_charter(self, setting = False, name = False):
if name:
return {name: id for id, name in zip(self.character_id, self.character_name)}

return {id: name for id, name in zip(self.character_id, self.character_name)}
return {id: name for id, name in zip(self.character_id, self.character_name)}

0 comments on commit cfb732c

Please sign in to comment.