Skip to content

Commit

Permalink
chore: Fix InquirerLib syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
mathix420 committed Aug 21, 2024
1 parent 4cc8004 commit 325b6f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylone/pylone.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def _get_objects(self):
res = prompt({
"type": "checkbox",
"name": "objects",
"choices": [{'name': obj.cf['name']} for obj in objects],
"choices": [obj.cf['name'] for obj in objects],
"message": "Choose objects to update"
})['objects']
objects = list(filter(lambda x: x.cf['name'] in res, objects))
Expand Down

0 comments on commit 325b6f8

Please sign in to comment.