diff --git a/dired.py b/dired.py index d12ca3d..2d20ecc 100644 --- a/dired.py +++ b/dired.py @@ -127,14 +127,7 @@ def _determine_path(self): return os.path.split(path) # Use the first project folder if there is one. - data = self.window.project_data() if ST3 else None - if data and 'folders' in data: - folders = data['folders'] - if folders: - return (folders[0]['path'], '') - - # Use window folder if possible - if len(folders) > 0: + if folders: return (folders[0], '') # Use the user's home directory.