aboutsummaryrefslogtreecommitdiff
path: root/ayatanawebmail
diff options
context:
space:
mode:
Diffstat (limited to 'ayatanawebmail')
-rwxr-xr-xayatanawebmail/common.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ayatanawebmail/common.py b/ayatanawebmail/common.py
index 47a17e2..905ae74 100755
--- a/ayatanawebmail/common.py
+++ b/ayatanawebmail/common.py
@@ -39,7 +39,7 @@ def getDataPath(strPath):
return strPath
-def isRunning():
+def isRunning(sAppend = ''):
nCount = 0
@@ -60,10 +60,10 @@ def isRunning():
for strCmd in lstCmdline:
- if strCmd.endswith('ayatana-webmail'):
+ if strCmd.endswith('ayatana-webmail' + sAppend):
nCount += 1
- elif strName.endswith('ayatana-webmail'):
+ elif strName.endswith('ayatana-webmail' + sAppend):
nCount += 1