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:
return None
@staticmethod
def ip():
system = System()
try:
ip = system.db_service.select_one_result('session', 'ip')
return ip
except:
return None
@staticmethod
def get_pid_number():
pid_number = None