tdf lower() fontname

This commit is contained in:
Gordon Shumway 2019-05-04 16:36:16 -04:00 committed by GitHub
parent 29feb58a97
commit 9abcb23652
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -768,7 +768,7 @@ class ASCII(callbacks.Plugin):
opts = ''
if 'f' in optlist:
f = optlist.get('f')
opts += '-f {0} '.format(f)
opts += '-f {0} '.format(f.lower())
else:
opts += '-r '
if 'j' in optlist:
@ -889,7 +889,7 @@ class ASCII(callbacks.Plugin):
"""
reply = ", ".join(sorted(os.listdir("/usr/local/share/tdfiglet/fonts/")))
irc.reply("http://www.roysac.com/thedrawfonts-tdf.html", prefixNick=False, private=True, notice=True)
irc.reply(reply, prefixNick=False, private=True, notice=True)
irc.reply(reply, prefixNick=False)
fonts = wrap(fonts)
def cq(self, irc, msg, args):