Fix for service
This commit is contained in:
parent
3bdab282b8
commit
45cf03cb16
1 changed files with 2 additions and 1 deletions
|
@ -13,7 +13,8 @@ class BluRaySettings:
|
|||
self.log.info('reading settings')
|
||||
|
||||
params = self.getParams()
|
||||
self.handle = int(sys.argv[1])
|
||||
if len(sys.argv) >= 2:
|
||||
self.handle = int(sys.argv[1])
|
||||
self.paramUrl = self.getParam(params, 'url')
|
||||
self.paramName = self.getParam(params, "name")
|
||||
self.paramMode = self.getIntParam(params, "mode")
|
||||
|
|
Loading…
Reference in a new issue