Better prompt for missing AddOn name.

This commit is contained in:
Casper V. Kristensen 2019-10-10 15:37:30 +02:00
parent b07a55778f
commit d4aa7b73af
Signed by: caspervk
GPG key ID: 289CA03790535054

View file

@ -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)