Mercurial > hg > config
changeset 883:3b7f67021877
python3
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Wed, 05 Aug 2020 09:27:14 -0700 |
parents | c26ec5ea9b9a |
children | e5861cbbc4bb |
files | python/html2flux.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/python/html2flux.py Wed Aug 05 09:20:51 2020 -0700 +++ b/python/html2flux.py Wed Aug 05 09:27:14 2020 -0700 @@ -119,11 +119,11 @@ # print [submenu] tag for this menu name = name or '' if not top: - print >> output, '[submenu] (%s)' % name + output.write('[submenu] (%s)\n' % name) # print menu items for name, item in menu: - if isinstance(item, basestring): + if isinstance(item, string): # command print >> output, '[exec] (%s) {%s}' % (name, item) else: