Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FSL
add_module
Commits
65058c5d
Commit
65058c5d
authored
Sep 01, 2021
by
Paul McCarthy
🚵
Browse files
BF: typo in selectMultiplePlugins - string needs to be f-string
parent
cf7f8e68
Changes
2
Hide whitespace changes
Inline
Side-by-side
fsl/add_module/plugin_manifest.py
View file @
65058c5d
...
...
@@ -42,7 +42,7 @@ optional but recommended:
- ``description``: An extended description of the plugin
- ``version``: A version identifier for the plugin (used solely for
descriptive purposes)
- ``ter
s
m_of_use``: Terms of use for the plugin (displayed to the user)
- ``term
s
_of_use``: Terms of use for the plugin (displayed to the user)
- ``destination``: Default installation directory. May contain environment
variables and ``~``.
"""
# noqa: E501
...
...
fsl/add_module/ui.py
View file @
65058c5d
...
...
@@ -157,7 +157,7 @@ def _selectMultiplePlugins(plugins : List[Plugin]) -> List[Plugin]:
'Alternately, enter the numbers of each module you would like '
'to download, separated by spaces. For example, if you would '
f
'like to download the [
{
plugins
[
0
].
name
}
] and '
'[{plugins[1],name}] modules, enter "1 2".'
,
indent
=
2
,
wrap
=
True
)
f
'[
{
plugins
[
1
],
name
}
] modules, enter "1 2".'
,
indent
=
2
,
wrap
=
True
)
response
=
prompt
(
'Enter module(s) to download: '
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment