.
This commit is contained in:
@@ -81,7 +81,6 @@ class Manager:
|
||||
return self.__current["key"]
|
||||
|
||||
def current(self, key):
|
||||
|
||||
item = None
|
||||
if key!=None:
|
||||
for x in self.__processes:
|
||||
@@ -92,7 +91,7 @@ class Manager:
|
||||
self._current = None
|
||||
return
|
||||
|
||||
onlyone(item["cmd"], [x for x in self.__processes if x["key"]!=item["key"]])
|
||||
onlyone(item["cmd"], [x.cmd for x in self.__processes if x["key"]!=item["key"]])
|
||||
self._current = item["key"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user