mirror of
https://github.com/Pardus-LiderAhenk/ahenk
synced 2024-11-25 14:42:22 +03:00
already running problem fixed when call status
This commit is contained in:
parent
68db9eb342
commit
9e2fbac6a5
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ class Commander(object):
|
|||
def status(self):
|
||||
ahenk_state = False
|
||||
|
||||
if System.Ahenk.get_pid_number():
|
||||
if System.Ahenk.is_running() is True:
|
||||
ahenk_state = True
|
||||
return "Ahenk Active:{0}\nInstalled Plugins:{1}".format(ahenk_state, str(System.Ahenk.installed_plugins()))
|
||||
|
||||
|
|
Loading…
Reference in a new issue