fix XMLTV double load

This commit is contained in:
DYefremov
2024-02-10 21:05:47 +03:00
parent 06242ce611
commit 9bb4f6d75d

View File

@@ -230,6 +230,12 @@ class TabEpgCache(EpgCache):
if self._canceled:
return
if self._app.display_epg and self._xml_src == self._settings.epg_xml_source:
return
self.load_data()
def load_data(self):
if os.path.isfile(self._path):
if self._xml_src:
# Difference calculation between the current time and file modification.