--- a/PluginManager/PluginManager.py Sat Jan 11 15:33:07 2014 +0100 +++ b/PluginManager/PluginManager.py Sun Jan 12 17:37:19 2014 +0100 @@ -1000,7 +1000,11 @@ for name, module in list(self.__onDemandActiveModules.items()): if getattr(module, "pluginType") == "version_control": self.deactivatePlugin(name, True) - + + ######################################################################## + ## Methods creation of the plug-ins download directory + ######################################################################## + def __checkPluginsDownloadDirectory(self): """ Private slot to check for the existence of the plugins download @@ -1050,18 +1054,18 @@ period = Preferences.getPluginManager("UpdatesCheckInterval") if period == 0: return - elif period in [2, 3, 4]: + elif period in [1, 2, 3]: lastModified = QFileInfo(self.pluginRepositoryFile).lastModified() if lastModified.isValid() and lastModified.date().isValid(): lastModifiedDate = lastModified.date() now = QDate.currentDate() - if period == 2 and lastModifiedDate.day() == now.day(): + if period == 1 and lastModifiedDate.day() == now.day(): # daily return - elif period == 3 and lastModifiedDate.daysTo(now) < 7: + elif period == 2 and lastModifiedDate.daysTo(now) < 7: # weekly return - elif period == 4 and lastModifiedDate.month() == now.month(): + elif period == 3 and lastModifiedDate.month() == now.month(): # monthly return