mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-28 05:42:27 +03:00
send display parameter to unregister_message
This commit is contained in:
parent
88018a32ac
commit
18149fc4d2
1 changed files with 1 additions and 5 deletions
|
@ -389,11 +389,7 @@ class Util:
|
|||
|
||||
ask_path = Util.get_ask_path_file()+ 'unregistrationmessage.py'
|
||||
|
||||
command = 'export DISPLAY={0}; su - {1} -c \"python3 {2} \'{3}\' \'{4}\' \"'.format(display_number,
|
||||
login_user_name,
|
||||
ask_path,
|
||||
message, title
|
||||
)
|
||||
command = 'su - {0} -c \"python3 {1} \'{2}\' \'{3}\' \'{4}\' \"'.format(login_user_name, ask_path, message, title, display_number)
|
||||
result_code, p_out, p_err = Util.execute(command)
|
||||
|
||||
pout = str(p_out).replace('\n', '')
|
||||
|
|
Loading…
Reference in a new issue