mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-22 10:52:17 +03:00
login parameters were extended with dm and display
This commit is contained in:
parent
8eeab0ec0a
commit
01bba60f40
1 changed files with 3 additions and 3 deletions
|
@ -30,12 +30,12 @@ class Commander(object):
|
||||||
self.clean()
|
self.clean()
|
||||||
return False
|
return False
|
||||||
|
|
||||||
elif params[1] == 'login' and len(params) == 7:
|
elif params[1] == 'login' and len(params) == 5:
|
||||||
print('{1} {0}ing'.format(str(params[1]), str(params[2])))
|
print('{1} {0}ing'.format(str(params[1]), str(params[2])))
|
||||||
data['event'] = params[1]
|
data['event'] = params[1]
|
||||||
data['username'] = params[2]
|
data['username'] = params[2]
|
||||||
data['desktop'] = params[4]
|
data['desktop'] = params[3]
|
||||||
data['display'] = params[6]
|
data['display'] = params[4]
|
||||||
|
|
||||||
|
|
||||||
elif params[1] == 'logout' and len(params) == 3:
|
elif params[1] == 'logout' and len(params) == 3:
|
||||||
|
|
Loading…
Reference in a new issue