already running problem fixed when call status

This commit is contained in:
Volkan Şahin 2016-06-08 14:43:51 +03:00
parent 68db9eb342
commit 9e2fbac6a5
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ class Commander(object):
def status(self): def status(self):
ahenk_state = False ahenk_state = False
if System.Ahenk.get_pid_number(): if System.Ahenk.is_running() is True:
ahenk_state = True ahenk_state = True
return "Ahenk Active:{0}\nInstalled Plugins:{1}".format(ahenk_state, str(System.Ahenk.installed_plugins())) return "Ahenk Active:{0}\nInstalled Plugins:{1}".format(ahenk_state, str(System.Ahenk.installed_plugins()))