Skip to content

Commit 96e4535

Browse files
webapp: routes: make it possible to extract function source locally (#1553)
Signed-off-by: DavidKorczynski <david@adalogics.com>
1 parent 2c303e6 commit 96e4535

File tree

1 file changed

+2
-0
lines changed
  • tools/web-fuzzing-introspection/app/webapp

1 file changed

+2
-0
lines changed

tools/web-fuzzing-introspection/app/webapp/routes.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,6 +1046,8 @@ def api_function_source_code():
10461046
datestr = ps.date
10471047
if ps.introspector_data != None:
10481048
latest_introspector_datestr = datestr
1049+
if is_local:
1050+
latest_introspector_datestr = "norelevant"
10491051

10501052
if latest_introspector_datestr == None:
10511053
return {'result': 'error', 'msg': 'No introspector builds.'}

0 commit comments

Comments
 (0)