Skip to content

Commit

Permalink
OPS-6558 Fix lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncolincap committed Oct 1, 2024
1 parent 76214e5 commit b9b6eb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion onepwd/plugins/action/item.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def run_present(self, op:onepwd.OnePwd, category, name, vault, fields, generate_
if not label_existing:
assignment_statements += " " + onepwd.build_assignment_statement(field)
else:
if lowercase(field['type']) == 'file':
if field['type'].lower() == 'file':
overwrite_file_fields = True
assignment_statements += " " + onepwd.build_assignment_statement(field)

Expand Down

0 comments on commit b9b6eb2

Please sign in to comment.