#750: Simple REST route to get the list of running commands.
parent
3c5a6993d7
commit
1cfe9dc9db
|
@ -113,6 +113,7 @@ class OpenGnSysWorker(ServerWorker):
|
|||
REST = None # REST object
|
||||
logged_in = False # User session flag
|
||||
locked = {} # Locked partitions
|
||||
commands = [] # Running commands
|
||||
random = None # Random string for secure connections
|
||||
length = 32 # Random string length
|
||||
|
||||
|
@ -354,7 +355,7 @@ class OpenGnSysWorker(ServerWorker):
|
|||
serialno = '' # Serial number
|
||||
storage = [] # Storage configuration
|
||||
warnings = 0 # Number of warnings
|
||||
logger.debug('Recieved getconfig operation')
|
||||
logger.debug('Received getconfig operation')
|
||||
self.checkSecret(server)
|
||||
# Processing data
|
||||
for row in operations.get_configuration().split(';'):
|
||||
|
|
|
@ -49,7 +49,7 @@ else:
|
|||
if os.path.exists('/scripts/oginit'):
|
||||
from .oglive.operations import * # @UnusedWildImport
|
||||
os_type = 'ogLive'
|
||||
os_version = get_oglive_version()
|
||||
os_version = get_oglive_version().replace(',', '')
|
||||
else:
|
||||
from .linux.operations import * # @UnusedWildImport
|
||||
os_type = 'Linux'
|
||||
|
|
Loading…
Reference in New Issue