Skip to content

Commit

Permalink
Merge pull request #143 from shifoc/2.5.6
Browse files Browse the repository at this point in the history
Fixed "TypeError: can only concatenate str (not "int") to str" in print_json.py
  • Loading branch information
khast3x authored May 9, 2022
2 parents 381e5b9 + 2054df3 commit e3d8770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion h8mail/utils/print_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def generate_source_arrays(pwned_data):
temp_array = []
for i in range(len(pwned_data)):
if len(pwned_data[i]) == 2:
temp_array.append(pwned_data[i][0] + ":" + pwned_data[i][1])
temp_array.append(pwned_data[i][0] + ":" + str(pwned_data[i][1]))
no_src += 1
if "SOURCE" in pwned_data[i][0]:
data_array.append(temp_array)
Expand Down

1 comment on commit e3d8770

@onu11
Copy link

@onu11 onu11 commented on e3d8770 Dec 10, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.