session close feature added

This commit is contained in:
Volkan Şahin 2016-08-11 18:26:52 +03:00
parent 26e17d3873
commit 4b580f26cb

View file

@ -18,6 +18,10 @@ class Util:
def __init__(self): def __init__(self):
super().__init__() super().__init__()
@staticmethod
def close_session(username):
Util.execute('pkill -9 -u {0}'.format(username))
@staticmethod @staticmethod
def create_file(full_path): def create_file(full_path):
try: try: