Fix for service

This commit is contained in:
Arne Bultman 2012-01-06 19:50:57 +01:00
parent 3bdab282b8
commit 45cf03cb16

View file

@ -13,6 +13,7 @@ class BluRaySettings:
self.log.info('reading settings') self.log.info('reading settings')
params = self.getParams() params = self.getParams()
if len(sys.argv) >= 2:
self.handle = int(sys.argv[1]) self.handle = int(sys.argv[1])
self.paramUrl = self.getParam(params, 'url') self.paramUrl = self.getParam(params, 'url')
self.paramName = self.getParam(params, "name") self.paramName = self.getParam(params, "name")