From 57bc4349018c96273c7ba0bab37e5774b4297381 Mon Sep 17 00:00:00 2001 From: cschen <camillo.schenone@gmail.com> Date: Mon, 17 Feb 2025 22:52:14 +0100 Subject: [PATCH] remove useless intermediate variable --- plugin/commands/workspace.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugin/commands/workspace.py b/plugin/commands/workspace.py index 31694e8..a13cb3c 100644 --- a/plugin/commands/workspace.py +++ b/plugin/commands/workspace.py @@ -156,9 +156,8 @@ class CodempDeleteBufferCommand(sublime_plugin.WindowCommand): def input(self, args): if "workspace_id" not in args: - wslist = session.get_workspaces(owned=True, invited=False) return SimpleListInput( - ("workspace_id", wslist), + ("workspace_id", session.get_workspaces(owned=True, invited=False)), ) if "buffer_id" not in args: