Remove redundant type-conversion

This commit is contained in:
Kristian 2010-03-10 23:21:40 +01:00
parent 850277afd1
commit 11ad608c75

View File

@ -25,7 +25,6 @@ class DenonMixer(BaseMixer):
return self._levels.index(vol)
def _set_volume(self, volume):
volume = int(volume)
# Clamp according to Denon-spec
if volume > 99:
volume = 99