X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=accounts.py;fp=accounts.py;h=480129c41717ffd3aefb04d4afc8ea9929b3fb7c;hb=1ede9b6e7722605dd5e3cbde6a1080696477d78d;hp=04ccc20f190e9ba633d9d453bdc541fb4552ddf0;hpb=7d22707ad49d12e3cc1ce04c9f397280b08b145b;p=nodemanager.git diff --git a/accounts.py b/accounts.py index 04ccc20..480129c 100644 --- a/accounts.py +++ b/accounts.py @@ -132,7 +132,7 @@ class Worker: def stop(self): self._acct.stop() def is_running(self): - if self._acct.is_running(): + if (self._acct != None) and self._acct.is_running(): status = True else: status = False