mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-09 17:07:43 +01:00
Update cli.py
This commit is contained in:
parent
4803376b6c
commit
2f0edbf0fd
1 changed files with 3 additions and 3 deletions
|
@ -223,9 +223,9 @@ def plugins_add(package_name):
|
|||
try:
|
||||
p_metadata= metadata(package_name)
|
||||
p_name=p_metadata['Name']
|
||||
if p_name != package_name:
|
||||
print("Error. Package name {} does not exist. Did you mean {}".format(package_name,p_name))
|
||||
installation = False
|
||||
#if p_name != package_name:
|
||||
# print("Error. Package name {} does not exist. Did you mean {}".format(package_name,p_name))
|
||||
# installation = False
|
||||
except Exception as e:
|
||||
print("Error. Package {} cannot be found in installed packages".format(package_name))
|
||||
installation = False
|
||||
|
|
Loading…
Reference in a new issue