mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 02:26:53 -07:00
Fix allready running handling for Python3. #1626
This commit is contained in:
parent
f1dc672056
commit
ce50a1c27d
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ class PosixProcess(object):
|
|||
self.lasterror = False
|
||||
return self.lasterror
|
||||
except socket.error as e:
|
||||
if 'Address already in use' in e:
|
||||
if 'Address already in use' in str(e):
|
||||
self.lasterror = True
|
||||
return self.lasterror
|
||||
except AttributeError:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue