mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-22 12:44:05 +02:00
Fix typo in IPC socket cleanup code.
This commit is contained in:
parent
5a5e63499e
commit
6ece3eb10b
1 changed files with 2 additions and 2 deletions
|
|
@ -18,7 +18,7 @@
|
|||
the controller listens for messages from the worker. The worker can send progress updates
|
||||
as well as console output (i.e. text that would normally have been written to stdout
|
||||
or stderr by the job). Once the job completes (or raises an exception) the worker
|
||||
returns the result (or exception) to the controller adnt he protocol reverts to the first mode.
|
||||
returns the result (or exception) to the controller and the protocol reverts to the first mode.
|
||||
|
||||
In the second mode, the controller can also send the worker STOP messages, in which case
|
||||
the worker interrupts the job and dies. The sending of progress and console output messages
|
||||
|
|
@ -497,7 +497,7 @@ def __iter__(self):
|
|||
def remove_ipc_socket(path):
|
||||
os = __import__('os')
|
||||
if os.path.exists(path):
|
||||
os.path.unlink(path)
|
||||
os.unlink(path)
|
||||
|
||||
class Server(Thread):
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue