def readEPGData(self): path = self._config.getEPGTimestampPath() if OSTools.fileExists(path): OSTools.removeFile(path) self._updateEPGData()
def _isPolicyChangeRequested(self,markerFile): if OSTools.fileExists(markerFile): OSTools.removeFile(markerFile) return True return False