Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webapp: Fix type error #1584

Merged
merged 2 commits into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions tools/web-fuzzing-introspection/app/webapp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,11 @@ def load_functions(function_list, target):
function_argument_names=func['function-argument-names'],
raw_function_name=func['raw-function-name'],
date_str=func.get('date-str', ''),
source_line_begin=func.get('source_line_begin', '-1'),
source_line_end=func.get('source_line_end', '-1'),
callsites=func.get('callsites', []),
source_line_begin=func.get('source_line_begin', -1),
source_line_end=func.get('source_line_end', -1),
callsites=func.get('callsites', {}),
func_signature=func.get('function-signature', 'N/A'),
debug_data=func.get('debug-function', 'N/A'),
debug_data=func.get('debug-function', {}),
is_accessible=func.get('is_accessible', True),
is_jvm_library=func.get('is_jvm_library', False),
is_enum_class=func.get('is_enum_class', False)))
Expand Down
6 changes: 3 additions & 3 deletions tools/web-fuzzing-introspection/app/webapp/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,9 +370,9 @@ def project_profile():
language=build_status.language,
date="",
fuzzer_count=0,
coverage_data=None,
introspector_data=None,
project_repository=None)
coverage_data={},
introspector_data={},
project_repository='')

# Get statistics of the project
project_statistics = data_storage.PROJECT_TIMESTAMPS
Expand Down