Skip to content

Commit

Permalink
sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
ajinabraham committed Oct 29, 2024
1 parent 65efce9 commit e5a3ae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mobsf/MobSF/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -969,6 +969,6 @@ def run_func(result, *args, **kwargs):
msg = (f'function <{func.__name__}> '
f'timed out after {limit} seconds')
raise TaskTimeoutError(msg)
if result and len(result) > 0:
if result:
return result[0]
return None

0 comments on commit e5a3ae4

Please sign in to comment.