mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-12-23 09:52:16 +03:00
ip added for ltsp servers
This commit is contained in:
parent
4301037dd2
commit
26c7a276cc
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue