Skip to content

Commit

Permalink
Update epanet.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariosmsk committed Jun 20, 2024
1 parent 86866c6 commit 3a2478e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions epyt/epanet.py
Original file line number Diff line number Diff line change
Expand Up @@ -13297,6 +13297,8 @@ def getAllAttributes(self, obj):
"""
attributes = []
def recurse_attrs(obj):
for k, v in obj.__dict__.items():
attributes.append((k, v))
if hasattr(v, '__dict__'):
recurse_attrs(v)

Expand Down

0 comments on commit 3a2478e

Please sign in to comment.