mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-25 12:22:28 +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:
|
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
|
||||||
|
|
Loading…
Reference in a new issue