On Sat, Jun 25, 2016 at 11:48:17AM +0200, Łukasz Żarnowiecki wrote: > On Thu, Jun 23, 2016 at 01:00:03AM +0200, Nicolas Sebrecht wrote: > > +def add(accountname, folder_root, foldername): > > + if _mbnames is None: > > + return > > Could it happen that add is called before init?
It's not that it can be called before but _mbnames might be None if the feature is not enabled. So, PATCH v4 is the correct one. -- Nicolas Sebrecht _______________________________________________ OfflineIMAP-project mailing list: [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project OfflineIMAP homepages: - https://github.com/OfflineIMAP - http://offlineimap.org
