Skip to content

Commit

Permalink
fix 'set' object is not subscriptable.
Browse files Browse the repository at this point in the history
  • Loading branch information
Forgo7ten committed Mar 11, 2024
1 parent 9f7a3c6 commit f8c7972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion androguard/core/apk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,7 @@ def get_main_activity(self):
main_activities.intersection(self.get_activities()))
if good_main_activities:
return good_main_activities[0]
return main_activities[0]
return sorted(main_activities)[0]
return None

def get_activities(self):
Expand Down

0 comments on commit f8c7972

Please sign in to comment.