Skip to content

Commit

Permalink
Simplify the dictionary for variables
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusburghardt committed May 23, 2024
1 parent d3d7cbc commit 7b05f60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/profile_tool/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def add_rule(self, rule_id):
self.rules.append(rule_id)
else:
variable_name, variable_value = rule_id.split('=', 1)
self.variables.append({'name': variable_name, 'value': variable_value})
self.variables.append({variable_name: variable_value})

def add_rules(self, rules):
for rule in rules:
Expand Down

0 comments on commit 7b05f60

Please sign in to comment.