ソースを参照

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])