mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-10 19:00:53 +08:00
assert without redundant ()
This commit is contained in:
1 parent
f61fd02ac7
commit
55412b94d2
1 file changed
+1
-1
+1
-1
@@ -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:]
|
||||
|
||||
Reference in new issue
Block a user