From fda6f4b6192d676df68d9dbd59111e9532984c63 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Wed, 2 Jun 2010 11:05:08 +0000 Subject: [PATCH] simplify code --- ac3lipsync/src/AC3delay.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ac3lipsync/src/AC3delay.py b/ac3lipsync/src/AC3delay.py index cfcb530..a92c859 100644 --- a/ac3lipsync/src/AC3delay.py +++ b/ac3lipsync/src/AC3delay.py @@ -29,10 +29,7 @@ class AC3delay: # find out box type self.oHWInfo = HardwareInfo() - if self.oHWInfo.get_device_name() in ("dm800","dm8000","dm500hd"): - self.bHasToRestartService = False - else: - self.bHasToRestartService = True + self.bHasToRestartService = self.oHWInfo.get_device_name() == "dm7025" def initAudio(self): self.iService = NavigationInstance.instance.getCurrentService() -- 2.7.4