Better prompt for missing AddOn name.
This commit is contained in:
parent
b07a55778f
commit
d4aa7b73af
|
@ -81,8 +81,8 @@ class Addon:
|
||||||
if len(self.dirs) == 1:
|
if len(self.dirs) == 1:
|
||||||
self.name = self.dirs[0].name
|
self.name = self.dirs[0].name
|
||||||
else:
|
else:
|
||||||
print(f"Please enter AddOn name for {self.url}:")
|
print(f"Unable to identify AddOn name for {self.url}")
|
||||||
self.name = input()
|
self.name = input("AddOn name: ")
|
||||||
|
|
||||||
def uninstall(self) -> None:
|
def uninstall(self) -> None:
|
||||||
logger.info("Uninstalling %s", self)
|
logger.info("Uninstalling %s", self)
|
||||||
|
|
Loading…
Reference in a new issue