6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-11-11 15:51:00 +00:00

Replace @ by == in "pluginname==version"

This commit is contained in:
Régis Behmo 2020-01-17 15:06:07 +01:00
parent 6716668ff9
commit eeb5f43239

View File

@ -30,7 +30,7 @@ def list_command(context):
for plugin in plugins.iter_installed(): for plugin in plugins.iter_installed():
status = "" if plugins.is_enabled(config, plugin.name) else " (disabled)" status = "" if plugins.is_enabled(config, plugin.name) else " (disabled)"
print( print(
"{plugin}@{version}{status}".format( "{plugin}=={version}{status}".format(
plugin=plugin.name, status=status, version=plugin.version plugin=plugin.name, status=status, version=plugin.version
) )
) )