Comment 1 for bug 1175652

Revision history for this message
Jake Peck (gatesphere) wrote :

The offending code is in:
LeoPy.leo -> Code -> Core Classes -> @file leoCommands.py -> class commands -> Command handlers... -> help menu -> about

The following code *should* fix it:

----
def about (self,event=None):

    '''Bring up an About Leo Dialog.'''
   import datetime

    c = self

    # Don't use triple-quoted strings or continued strings here.
    # Doing so would add unwanted leading tabs.
    version = g.app.signon + '\n\n'
    theCopyright = (
        "Copyright 1999-%d by Edward K. Ream\n" +
        "All Rights Reserved\n" +
        "Leo is distributed under the MIT License" % datetime.date.today().year)
    url = "http://webpages.charter.net/edreamleo/front.html"
    email = "<email address hidden>"

    g.app.gui.runAboutLeoDialog(c,version,theCopyright,url,email)
----