mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Print out job sarted notification for device jobs to the debug queue
This commit is contained in:
parent
9672083e84
commit
47415caf3b
@ -49,6 +49,9 @@ class DeviceJob(BaseJob): # {{{
|
|||||||
self._aborted = False
|
self._aborted = False
|
||||||
|
|
||||||
def start_work(self):
|
def start_work(self):
|
||||||
|
if DEBUG:
|
||||||
|
prints('Job:', self.id, self.description, 'started',
|
||||||
|
safe_encode=True)
|
||||||
self.start_time = time.time()
|
self.start_time = time.time()
|
||||||
self.job_manager.changed_queue.put(self)
|
self.job_manager.changed_queue.put(self)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user