03-07-2011, 08:28 AM | #46 |
Sigil developer
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
The library_uuid and device_uuid are working well. Thanks
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. |
03-07-2011, 09:32 AM | #47 |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Why? Aren't you using JSON? If so, it handles dicts of dicts perfectly well.
|
Advert | |
|
03-07-2011, 01:30 PM | #48 |
Sigil developer
Posts: 1,275
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
Well, it was simple to add to the current code. But since I didn't really like it that way either, I've redone the code to support nested settings - it needed a cleanup anyway.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do you pick names? | AgentBEATS | Writers' Corner | 32 | 02-22-2011 10:03 AM |
Confused about names | shinnosuke | BeBook | 8 | 04-24-2010 11:33 AM |
Publisher's Names | emonti8384 | General Discussions | 10 | 04-05-2010 12:05 AM |
Author names | superplinio | Calibre | 6 | 02-27-2010 04:58 AM |
Help me out with a couple of names | ardeegee | Lounge | 12 | 09-27-2009 03:41 AM |