mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix sleep time parameter of dynamic plugin queue.get
This commit is contained in:
parent
9d28e7a366
commit
40a273b316
@ -333,7 +333,7 @@ class DeviceManager(Thread): # {{{
|
||||
dynamic_method = None
|
||||
try:
|
||||
(dynamic_method, args, kwargs) = \
|
||||
self.dynamic_plugin_requests.get(self.sleep_time)
|
||||
self.dynamic_plugin_requests.get(timeout=self.sleep_time)
|
||||
res = dynamic_method(*args, **kwargs)
|
||||
self.dynamic_plugin_responses.put(res)
|
||||
except Queue.Empty:
|
||||
|
Loading…
x
Reference in New Issue
Block a user