Thread: Library names
View Single Post
Old 03-07-2011, 09:32 AM   #47
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,476
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by meme View Post
At the moment I'm storing the configuration values under the key "library_uuid/device_uuid". I've considered using library_uuid: { device_uuid: values } but its easier to work with just one key when reading/writing the configuration data.
Why? Aren't you using JSON? If so, it handles dicts of dicts perfectly well.
chaley is offline   Reply With Quote