ip added for ltsp servers

This commit is contained in:
volkansahin 2017-07-06 11:43:00 +03:00
parent 4301037dd2
commit 26c7a276cc

View file

@ -120,6 +120,15 @@ class System:
except: except:
return None return None
@staticmethod
def ip():
system = System()
try:
ip = system.db_service.select_one_result('session', 'ip')
return ip
except:
return None
@staticmethod @staticmethod
def get_pid_number(): def get_pid_number():
pid_number = None pid_number = None