Skip to content

Commit

Permalink
Fix wrong overwrite of __dict__ attribute
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
  • Loading branch information
arthurscchan committed Jun 12, 2024
1 parent 9d9e2e4 commit 6bd48c0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tools/web-fuzzing-introspection/app/webapp/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,7 @@ def __init__(self,
self.is_accessible = is_accessible
self.is_jvm_library = is_jvm_library
self.is_enum_class = is_enum_class

def __dict__(self):
return {
self.__dict__ = {
'function_name': self.name,
'function_arguments': self.function_arguments,
'project': self.project,
Expand Down

0 comments on commit 6bd48c0

Please sign in to comment.