diff --git a/SideBar.py b/SideBar.py index 823353dd..7c26dadb 100644 --- a/SideBar.py +++ b/SideBar.py @@ -282,7 +282,7 @@ class RemoveFolderListener(sublime_plugin.EventListener): def on_post_window_command(self, window, command_name, args): if command_name == 'delete_folder': for folder in window.project_data()['folders']: - if not os.path.exists(folder['path']): + if not os.path.exists(os.path.expanduser(folder['path'])): window.run_command( 'remove_folder', {