On Thu, Jul 4, 2013 at 10:41 AM, Edward K. Ream <[email protected]> wrote:
> > On Thu, Jul 4, 2013 at 3:23 AM, Morgul <[email protected]> wrote: > > I found this problem in Leo where it doesn't start normally, giving this >> error: >> > > [snip] > > > I patched qtGui.py changing line 7465: > > self.color_theme = g.app.config.getString('color_theme') > > With: > > if g.app.config: > self.color_theme = g.app.config.getString('color_theme') > else: > self.color_theme = None > > Thanks for this report. I'll add the guard you suggest. > Done at rev 5828, about a month ago. The actual code:: self.color_theme = g.app.config and g.app.config.getString('color_theme') or None EKR -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/groups/opt_out.
