Skip to content

Commit

Permalink
🐛 Fix: 修复删除适配器前的索引确认问题 (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyomotoi authored Dec 4, 2023
1 parent 4994e85 commit e74a6ec
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nb_cli/config/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,7 @@ def remove_adapter(self, adapter: SimpleInfo) -> None:
),
None,
)
is not None
):
) is not None:
del adapters[index]
self._write_data(data)

Expand Down

0 comments on commit e74a6ec

Please sign in to comment.