X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fpython%2FPlugins%2FSystemPlugins%2FSoftwareManager%2FSoftwareTools.py;h=fa0f658f0ec20415dfcb318e504ffbfbd6feff0c;hp=ee0bec74320f84a6403bdc53090966db25eab88e;hb=ae79b4769ae42efbdb28715f4f4173a9ca61309e;hpb=2c862a6323b51e446270ee3b6845ed234ed8771d diff --git a/lib/python/Plugins/SystemPlugins/SoftwareManager/SoftwareTools.py b/lib/python/Plugins/SystemPlugins/SoftwareManager/SoftwareTools.py index ee0bec7..fa0f658 100755 --- a/lib/python/Plugins/SystemPlugins/SoftwareManager/SoftwareTools.py +++ b/lib/python/Plugins/SystemPlugins/SoftwareManager/SoftwareTools.py @@ -101,7 +101,7 @@ class SoftwareTools(DreamInfoHandler): def getUpdates(self, callback = None): if self.lastDownloadDate is None: - if self.hardware_info.device_name != "dm7025": + if self.hardware_info.device_name != "dm7020hd": etpm = eTPM() l2cert = etpm.getCert(eTPM.TPMD_DT_LEVEL2_CERT) if l2cert is None: @@ -120,7 +120,7 @@ class SoftwareTools(DreamInfoHandler): return val = etpm.challenge(rnd) result = decrypt_block(val, l3key) - if self.hardware_info.device_name == "dm7025" or result[80:88] == rnd: + if self.hardware_info.device_name == "dm7020hd" or result[80:88] == rnd: if self.NetworkConnectionAvailable == True: self.lastDownloadDate = time() if self.list_updating is False and callback is None: @@ -159,7 +159,7 @@ class SoftwareTools(DreamInfoHandler): self.NotifierCallback = callback else: if self.list_updating and callback is not None: - if self.hardware_info.device_name != "dm7025": + if self.hardware_info.device_name != "dm7020hd": etpm = eTPM() l2cert = etpm.getCert(eTPM.TPMD_DT_LEVEL2_CERT) if l2cert is None: @@ -178,7 +178,7 @@ class SoftwareTools(DreamInfoHandler): return val = etpm.challenge(rnd) result = decrypt_block(val, l3key) - if self.hardware_info.device_name == "dm7025" or result[80:88] == rnd: + if self.hardware_info.device_name == "dm7020hd" or result[80:88] == rnd: self.NotifierCallback = callback self.startIpkgListAvailable() else: @@ -366,4 +366,4 @@ class SoftwareTools(DreamInfoHandler): return False return True -iSoftwareTools = SoftwareTools() \ No newline at end of file +iSoftwareTools = SoftwareTools()