detect correctly running instances under win with built version. fixes #3050
This commit is contained in:
parent
c9aa4012fb
commit
ada5753cb9
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ def pid_alive():
|
||||||
return b.contents.szExeFile
|
return b.contents.szExeFile
|
||||||
f = k.Process32Next(h, b)
|
f = k.Process32Next(h, b)
|
||||||
|
|
||||||
if get_p(pid) == 'python.exe':
|
if get_p(pid) in ('python.exe', 'gajim.exe'):
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Add table
Reference in a new issue