mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-14 02:58:16 +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:
|
try:
|
||||||
p_metadata= metadata(package_name)
|
p_metadata= metadata(package_name)
|
||||||
p_name=p_metadata['Name']
|
p_name=p_metadata['Name']
|
||||||
if p_name != package_name:
|
#if p_name != package_name:
|
||||||
print("Error. Package name {} does not exist. Did you mean {}".format(package_name,p_name))
|
# print("Error. Package name {} does not exist. Did you mean {}".format(package_name,p_name))
|
||||||
installation = False
|
# installation = False
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print("Error. Package {} cannot be found in installed packages".format(package_name))
|
print("Error. Package {} cannot be found in installed packages".format(package_name))
|
||||||
installation = False
|
installation = False
|
||||||
|
|
Loading…
Reference in a new issue