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:
|
||||
self.name = self.dirs[0].name
|
||||
else:
|
||||
print(f"Please enter AddOn name for {self.url}:")
|
||||
self.name = input()
|
||||
print(f"Unable to identify AddOn name for {self.url}")
|
||||
self.name = input("AddOn name: ")
|
||||
|
||||
def uninstall(self) -> None:
|
||||
logger.info("Uninstalling %s", self)
|
||||
|
|
Loading…
Reference in a new issue