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

@@ -87,7 +87,7 @@ class UpdateMetadataCacheWorker(QtCore.QThread):
current_thread = QtCore.QThread.currentThread()
for repo in self.repos:
if repo.url and utils.recognized_git_location(repo):
if not repo.macro and repo.url and utils.recognized_git_location(repo):
# package.xml
index = NetworkManager.AM_NETWORK_MANAGER.submit_unmonitored_get(
utils.construct_git_url(repo, "package.xml")
@@ -120,7 +120,6 @@ class UpdateMetadataCacheWorker(QtCore.QThread):
while self.requests:
if current_thread.isInterruptionRequested():
NetworkManager.AM_NETWORK_MANAGER.completed.disconnect(self.download_completed)
for request in self.requests:
NetworkManager.AM_NETWORK_MANAGER.abort(request)
return