Skip to content

Commit 7167f87

Browse files
committed
Hotfix for branch not main
1 parent d8de41c commit 7167f87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/api_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def get_timeline_query(uri, filename, machine_id, branch, metrics, phase, start_
125125
if filename is None or filename.strip() == '':
126126
filename = 'usage_scenario.yml'
127127

128-
if branch is None or branch.strip() != '':
128+
if branch is None or branch.strip() == '':
129129
branch = 'main'
130130

131131
params = [uri, filename, branch, machine_id, f"%{phase}"]

0 commit comments

Comments
 (0)