detect correctly running instances under win with built version. fixes #3050

This commit is contained in:
Yann Leboulanger 2007-03-22 18:37:23 +00:00
parent c9aa4012fb
commit ada5753cb9

View file

@ -267,7 +267,7 @@ def pid_alive():
return b.contents.szExeFile
f = k.Process32Next(h, b)
if get_p(pid) == 'python.exe':
if get_p(pid) in ('python.exe', 'gajim.exe'):
return True
return False
try: