浏览代码

Fix variable name in Chinese hook.

scossu 7 月之前
父节点
当前提交
7405119853
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scriptshifter/hooks/chinese/__init__.py

+ 1 - 1
scriptshifter/hooks/chinese/__init__.py

@@ -143,4 +143,4 @@ def person_name_pre_assembly(ctx):
         if ctx.dest_ls[2][0] in "aeiou":
             ctx.dest_ls[1] += "'"
         ctx.dest_ls[1] += ctx_ls[2]
-        del(ctx_ls[2])
+        del(ctx.dest_ls[2])