diff --git a/workflow/danmaku.py b/workflow/danmaku.py
index 0e10bb7..0635dcb 100644
--- a/workflow/danmaku.py
+++ b/workflow/danmaku.py
@@ -33,7 +33,7 @@ def diff_danmaku_files(base_file: Union[os.PathLike[str], str], file: Union[os.P
 
 
 def danmaku_to_subtitle(file: Union[os.PathLike[str], str], time_shift: float):
-    new_subtitle_name = md5(file).digest().hex() + ".ass"
+    new_subtitle_name = md5(file).hexdigest() + ".ass"
     process = subprocess.Popen((
         DANMAKU_FACTORY_EXEC,
         "-r", str(VIDEO_RESOLUTION), "-s", str(DANMAKU_SPEED), "-f", "5",