View Single Post
Old 03-14-2021, 02:49 PM   #377
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,509
Karma: 8065348
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by capink View Post
I am not sure what is happening here. Next time this occurs, please test the condition also in calibre's template tester. If it returns the device name after you have removed it, open a bug report about it. If it is happening only with action chains condition evaluator, report back here.
I looked carefully at the mechanism that connected_device_name() uses and didn't see a way that it could return anything but '' if no device is showing on calibre's toolbar. It is possible that there can be a second or two delay after the eject, but in this case the calibre will still be showing the "toolbar when a device is connected".

Of course, me not seeing anything isn't definitive.
chaley is offline   Reply With Quote