diff --git a/mobsf/MobSF/utils.py b/mobsf/MobSF/utils.py index 841fb5eb7..e124eee31 100755 --- a/mobsf/MobSF/utils.py +++ b/mobsf/MobSF/utils.py @@ -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