Skip to content

Commit 0ec6226

Browse files
committed
Fixup b8120d4
1 parent f5dc384 commit 0ec6226

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/examples/dumpinvestigation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def get_investigation_id(client, invid):
2929
if len(l) == 2:
3030
# one colon, invid == name:visitId
3131
query.addConditions({"visitId": "= '%s'" % l[1]})
32-
else:
32+
elif len(l) > 2:
3333
# too many colons
3434
raise RuntimeError("Invalid investigation identifier '%s'" % invid)
3535
return client.assertedSearch(query)[0]

0 commit comments

Comments
 (0)