mirror of
https://github.com/frida/frida-python
synced 2026-06-08 14:16:17 +00:00
Fix application listing on Py3k
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ def main():
|
||||
self._exit(1)
|
||||
return
|
||||
if not self._include_all_applications:
|
||||
applications = filter(lambda app: app.pid != 0, applications)
|
||||
applications = list(filter(lambda app: app.pid != 0, applications))
|
||||
if len(applications) > 0:
|
||||
pid_column_width = max(map(lambda app: len("%d" % app.pid), applications))
|
||||
name_column_width = max(map(lambda app: len(app.name), applications))
|
||||
|
||||
Reference in New Issue
Block a user