mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-29 21:26:42 +01:00
Comments and debug statement repair
This commit is contained in:
parent
db967f62ba
commit
25cf777a53
1 changed files with 1 additions and 2 deletions
|
|
@ -67,7 +67,7 @@ def run(self):
|
|||
device_socket = None
|
||||
while self.keep_running:
|
||||
try:
|
||||
time.sleep(1) # Limit to one book per two seconds
|
||||
time.sleep(1)
|
||||
except:
|
||||
# Happens during interpreter shutdown
|
||||
break
|
||||
|
|
@ -76,7 +76,6 @@ def run(self):
|
|||
break
|
||||
|
||||
if not self.driver.connection_queue.empty():
|
||||
self.driver._debug('queue not empty')
|
||||
queue_not_serviced_count += 1
|
||||
if queue_not_serviced_count >= 3:
|
||||
self.driver._debug('queue not serviced')
|
||||
|
|
|
|||
Loading…
Reference in a new issue