Thread: Library names
View Single Post
Old 02-27-2011, 03:10 PM   #22
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,450
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by kovidgoyal View Post
@chaley: I'd suggest just extending the current get_info method to return this info as well and sticking it onto the device object so it only has to be read once.
I was going to read it only once.

I thought of changing the get_info method, but then I hesitated to change a published API. That is probably silly, though, because there is almost certainly only one user -- gui.devices.
chaley is offline   Reply With Quote