mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-22 03:52:17 +03:00
session close feature added
This commit is contained in:
parent
26e17d3873
commit
4b580f26cb
1 changed files with 4 additions and 0 deletions
|
@ -18,6 +18,10 @@ class Util:
|
|||
def __init__(self):
|
||||
super().__init__()
|
||||
|
||||
@staticmethod
|
||||
def close_session(username):
|
||||
Util.execute('pkill -9 -u {0}'.format(username))
|
||||
|
||||
@staticmethod
|
||||
def create_file(full_path):
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue