Ignore:
Timestamp:
08/12/13 18:47:14 (8 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/orngDlgs.py

    r11479 r11654  
    958958            lastRefresh = self.loadtimefn() 
    959959        t = time.time() 
    960         if t - lastRefresh > 7*24*3600 or Orange.utils.addons.addons_corrupted: 
    961             if Orange.utils.addons.addons_corrupted or \ 
     960        if t - lastRefresh > 7*24*3600 or Orange.utils.addons.addons_corrupted(): 
     961            if Orange.utils.addons.addons_corrupted() or \ 
    962962               QMessageBox.question(self, "Refresh", 
    963963                                    "List of available add-ons 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.