2015-07-04, 12:06
(2015-05-27, 20:01)fory Wrote: Done,
for me if remove the "if not mailbox['has_children']" line 65 addon.py show me the IMBOX and other folder.
items = [{
'label': _format_label(mailbox),
'path': plugin.url_for(
endpoint='show_mailbox',
mailbox=mailbox['raw_name'],
)
} for mailbox in client.get_mailboxes() if not mailbox['has_children']]
return plugin.finish(items)
-------------------------------------------------
items = [{
'label': _format_label(mailbox),
'path': plugin.url_for(
endpoint='show_mailbox',
mailbox=mailbox['raw_name'],
)
} for mailbox in client.get_mailboxes()]
return plugin.finish(items)
Ahh thanks for that. I had exactly the same problem in that it would show INBOX.Deleted INBOX.Archive etc.
With that line commented out I see the INBOX proper now
Thanks. Not sure what the servers have in common that does that but at least the fix works now, Maybe some better error checking is needed?