diff --git a/python/ql/lib/semmle/python/ApiGraphs.qll b/python/ql/lib/semmle/python/ApiGraphs.qll index fcb89e5f866..fe91ba4a6c4 100644 --- a/python/ql/lib/semmle/python/ApiGraphs.qll +++ b/python/ql/lib/semmle/python/ApiGraphs.qll @@ -721,7 +721,7 @@ module API { DataFlow::LocalSourceNode trackUseNode(DataFlow::LocalSourceNode src) { Stages::TypeTracking::ref() and result = trackUseNode(src, DataFlow::TypeTracker::end()) and - not result instanceof DataFlow::ModuleVariableNode + result instanceof DataFlow::ExprNode } /**