added 'jobs count' to lish; get_job_count to interface and jsonrpc
This commit is contained in:
parent
1a60ed8514
commit
b1f8d86fdb
4 changed files with 12 additions and 0 deletions
|
|
@ -67,6 +67,10 @@ class LinspectorInterface(object):
|
|||
job_list.append(d)
|
||||
return job_list
|
||||
|
||||
def get_job_count(self):
|
||||
count = len(self.jobs)
|
||||
return count
|
||||
|
||||
def get_enabled_layouts(self):
|
||||
self._config.get_enabled_layouts()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue