From 55412b94d2386f309ccc0cbe351891ba12bbb59f Mon Sep 17 00:00:00 2001 From: jxd1337 Date: Sat, 28 Oct 2023 10:59:33 +0200 Subject: [PATCH] assert without redundant () --- res/lang.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/lang.py b/res/lang.py index 2ed549fe1..4655d2cbe 100644 --- a/res/lang.py +++ b/res/lang.py @@ -20,7 +20,7 @@ def line_split(line): toks = line.split('", "') if len(toks) != 2: print(line) - assert (0) + assert 0 # Replace fixed position. # Because toks[1] may be v") or v"), k = toks[0][toks[0].find('"') + 1:]