Simple "is running" check

This commit is contained in:
Ruud
2011-08-30 10:10:46 +02:00
parent 4fd3f91a77
commit 404df1584b
2 changed files with 15 additions and 8 deletions
+5
View File
@@ -67,6 +67,11 @@ class Plugin(object):
except Exception, e:
log.error('Unable to create folder "%s": %s' % (path, e))
def beforeCall(self):
self.isRunning(True)
def afterCall(self):
self.isRunning(False)
def doShutdown(self):
self.shuttingDown(True)