Commits

Aleš Erjavec committed 4d10c60

Fix an error in onDeleteWidget when the network reply is not created.

Comments (0)

Files changed (1)

Orange/OrangeWidgets/Utilities/OWDatabasesPack.py

         super(OWDatabasesPack, self).onDeleteWidget()
         self._releaselocks()
 
-        if self.reply.isOpen():
+        if self.reply is not None and self.reply.isOpen():
             self.reply.finished.disconnect(self._finished)
             self.reply.error.disconnect(self._error)
             self.reply.close()