Addon Manager: Bug fixes and license cleanup

This commit is contained in:
Chris Hennes
2024-02-10 11:48:29 -05:00
parent 43cb58f79e
commit 057bdda46b
8 changed files with 43 additions and 30 deletions

View File

@@ -160,9 +160,6 @@ class Macro:
code = self._fetch_raw_code(p)
if not code:
code = self._read_code_from_wiki(p)
if not self.license:
# The default license on the wiki is CC-BY-3.0 (which is non-Libre and not OSI-approved)
self.license = "CC-BY-3.0"
if not code:
self._console.PrintWarning(
translate("AddonsInstaller", "Unable to fetch the code of this macro.") + "\n"