Skip to content

Commit

Permalink
Merge pull request #13 from purpole/patch-1
Browse files Browse the repository at this point in the history
Cast params[2] to an int so that result_limit becomes an int. Fixes #12
  • Loading branch information
S4ntiagoP authored Jan 6, 2024
2 parents a907098 + 85f6238 commit 29717e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SituationalAwareness/SituationalAwareness.py
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ def ldapsearch_parse_params( demon, params ):
attributes = params[ 1 ]

if num_params >= 3:
result_limit = params[ 2 ]
result_limit = int( params[ 2 ] )

if num_params >= 4:
hostname = params[ 3 ]
Expand Down

0 comments on commit 29717e1

Please sign in to comment.