Skip to content

Commit 944f884

Browse files
Change getASuccessor() to getASubscript()
1 parent 8bb4193 commit 944f884

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/ql/lib/semmle/python/frameworks/Gradio.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ module Gradio {
5858
call.getParameter(1).asSink().asCfgNode() instanceof ListNode
5959
) and
6060
(
61-
this = call.getKeywordParameter("inputs").getASuccessor().getAValueReachingSink()
61+
this = call.getKeywordParameter("inputs").getASubscript().getAValueReachingSink()
6262
or
63-
this = call.getParameter(1).getASuccessor().getAValueReachingSink()
63+
this = call.getParameter(1).getASubscript().getAValueReachingSink()
6464
)
6565
)
6666
)

0 commit comments

Comments
 (0)