From e19b831700772044d8536293b82e4e392fbee544 Mon Sep 17 00:00:00 2001 From: schon Date: Mon, 13 Dec 2010 19:01:52 +0900 Subject: [PATCH] Change boxtype to 500hd --- lib/python/Plugins/SystemPlugins/SoftwareManager/SoftwareTools.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/python/Plugins/SystemPlugins/SoftwareManager/SoftwareTools.py b/lib/python/Plugins/SystemPlugins/SoftwareManager/SoftwareTools.py index fa0f658..055d6ba 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 != "dm7020hd": + if self.hardware_info.device_name != "dm500hd": 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 == "dm7020hd" or result[80:88] == rnd: + if self.hardware_info.device_name == "dm500hd" 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 != "dm7020hd": + if self.hardware_info.device_name != "dm500hd": 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 == "dm7020hd" or result[80:88] == rnd: + if self.hardware_info.device_name == "dm500hd" or result[80:88] == rnd: self.NotifierCallback = callback self.startIpkgListAvailable() else: -- 2.7.4