Ignore:
Timestamp:
08/12/13 18:47:14 (9 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Changed the global 'addons_corrupted' flag to a function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/orngCanvas.pyw

    r11024 r11654  
    847847        lastRefresh = self.settings["lastAddonsRefresh"] 
    848848        dlg = orngDlgs.AddOnManagerDialog(self, self) 
    849         if t - lastRefresh > 7*24*3600 or Orange.utils.addons.addons_corrupted: 
     849        if t - lastRefresh > 7*24*3600 or Orange.utils.addons.addons_corrupted(): 
    850850            dlg.show() 
    851             if Orange.utils.addons.addons_corrupted or \ 
     851            if Orange.utils.addons.addons_corrupted() or \ 
    852852               QMessageBox.question(self, "Refresh", 
    853853                                    "List of add-ons in repository has not been refreshed for more than a week. Do you want to download the list now?", 
Note: See TracChangeset for help on using the changeset viewer.