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>"
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. date.today( ).year) webpages. charter. net/edreamleo/ front.html"
# 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.
url = "http://
email = "<email address hidden>"
g.app. gui.runAboutLeo Dialog( c,version, theCopyright, url,email)
----