Skip to content
Permalink
Browse files

[Plugin Manager] installer fix

  • Loading branch information
borysiasty committed Jun 11, 2013
1 parent f8cafe8 commit a602112fcd65c0a6a9463976b1576dca59a0b434
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/pyplugin_installer/installer_data.py
@@ -383,7 +383,7 @@ def load(self):
self.mRepositories[key]["QPNAM"] = QPNetworkAccessManager()

self.mRepositories[key]["Relay"] = Relay(key)
self.mRepositories[key]["xmlData"] = QBuffer()
self.mRepositories[key]["xmlData"] = None
self.mRepositories[key]["state"] = 0
self.mRepositories[key]["error"] = ""
settings.endGroup()
@@ -417,7 +417,7 @@ def fetchingInProgress(self):
# ----------------------------------------- #
def killConnection(self, key):
""" kill the fetching on demand """
if self.mRepositories[key]["xmlData"].isRunning():
if self.mRepositories[key]["xmlData"] and self.mRepositories[key]["xmlData"].isRunning():
self.mRepositories[key]["QPNAM"].finished.disconnect()
self.mRepositories[key]["xmlData"].abort()

0 comments on commit a602112

Please sign in to comment.
You can’t perform that action at this time.