Missed a line.
This commit is contained in:
parent
b882596e29
commit
d8475d76b2
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ from API import API
|
|||
try:
|
||||
params = utils.get_params(sys.argv[2])
|
||||
mode = params['mode']
|
||||
id = params['id']
|
||||
id = params.get('id', None)
|
||||
except:
|
||||
params = {}
|
||||
mode = None
|
||||
|
|
Loading…
Reference in a new issue