mirror of
https://github.com/rustdesk/rustdesk
synced 2026-04-21 13:27:19 +00:00
assert without redundant ()
This commit is contained in:
parent
f61fd02ac7
commit
55412b94d2
1 changed files with 1 additions and 1 deletions
|
|
@ -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:]
|
||||
|
|
|
|||
Loading…
Reference in a new issue