We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 002a105 commit 0708824Copy full SHA for 0708824
src/tmuxp/workspace/finders.py
@@ -218,9 +218,9 @@ def find_workspace_file(
218
"Use file names e.g. myproject.json, coolproject.yaml. "
219
"You can load them by filename.",
220
)
221
- elif not len(candidates):
+ elif not candidates:
222
file_error = "No tmuxp files found in directory"
223
- if len(candidates):
+ if candidates:
224
workspace_file = candidates[0]
225
elif not exists(workspace_file):
226
file_error = "file not found"
0 commit comments