mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 13:53:15 -07:00
parent
7a74293cc1
commit
ebe3319f25
1 changed files with 1 additions and 1 deletions
|
@ -1043,7 +1043,7 @@ class RunningProcess():
|
||||||
class WindowsProcess():
|
class WindowsProcess():
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.mutexname = "nzbtomedia_" + nzbtomedia.PID_FILE # {D0E858DF-985E-4907-B7FB-8D732C3FC3B9}"
|
self.mutexname = "nzbtomedia_" + nzbtomedia.PID_FILE.replace('\\','/') # {D0E858DF-985E-4907-B7FB-8D732C3FC3B9}"
|
||||||
if platform.system() == 'Windows':
|
if platform.system() == 'Windows':
|
||||||
from win32event import CreateMutex
|
from win32event import CreateMutex
|
||||||
from win32api import CloseHandle, GetLastError
|
from win32api import CloseHandle, GetLastError
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue