| Index: tools/memory_inspector/memory_inspector/core/stacktrace.py
|
| diff --git a/tools/memory_inspector/memory_inspector/core/stacktrace.py b/tools/memory_inspector/memory_inspector/core/stacktrace.py
|
| index 050c97628a878a5c2f7fc1621ab2b9382cacc28e..3f64e82ca24f97e67aa45b62f88ecd5ac87fe5e6 100644
|
| --- a/tools/memory_inspector/memory_inspector/core/stacktrace.py
|
| +++ b/tools/memory_inspector/memory_inspector/core/stacktrace.py
|
| @@ -67,7 +67,7 @@ class Frame(object):
|
| @property
|
| def exec_file_name(self):
|
| """Returns the file name (stripped of the path) of the executable."""
|
| - if self.exec_file_rel_path is None:
|
| + if not self.exec_file_rel_path:
|
| return None
|
| return posixpath.basename(self.exec_file_rel_path.replace('\\', '/'))
|
|
|
|
|