mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
0e592614a2
commit
736a16d335
@ -462,7 +462,7 @@ def main(args=sys.argv):
|
|||||||
otherinstance = False
|
otherinstance = False
|
||||||
try:
|
try:
|
||||||
listener = create_listener()
|
listener = create_listener()
|
||||||
except socket.error: # Good si is correct (on UNIX)
|
except socket.error: # Good singleinstance is correct (on UNIX)
|
||||||
otherinstance = True
|
otherinstance = True
|
||||||
else:
|
else:
|
||||||
# On windows only singleinstance can be trusted
|
# On windows only singleinstance can be trusted
|
||||||
|
Loading…
x
Reference in New Issue
Block a user