From 3d1953d855787f56e88406b69f6d6e90eb2bc533 Mon Sep 17 00:00:00 2001 From: chengduoZH Date: Thu, 17 May 2018 13:43:13 +0800 Subject: [PATCH] fix timeline --- tools/timeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/timeline.py b/tools/timeline.py index 8cd6353d46..b413bb6fe0 100644 --- a/tools/timeline.py +++ b/tools/timeline.py @@ -171,7 +171,7 @@ if args.timeline_path: profile_paths = profile_path.split(',') profile_dict = dict() -if len(profile_path) == 1: +if len(profile_paths) == 1: with open(profile_path, 'r') as f: profile_s = f.read() profile_pb = profiler_pb2.Profile() -- GitLab