Skip to content

Commit

Permalink
Fix Issue dirkjanm#194
Browse files Browse the repository at this point in the history
  • Loading branch information
rodry7 authored Aug 23, 2024
1 parent 093be56 commit 976f4eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bloodhound/ad/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,8 @@ def get_entry_property(entry, prop, default=None, raw=False):
converting empty values to the default specified. This is primarily
for output to JSON
"""
if entry is None:
return default
try:
if raw:
value = entry['raw_attributes'][prop]
Expand Down

1 comment on commit 976f4eb

@Cyb3rC3lt
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks very much, this worked for me today

Please sign in to comment.