From 529088cbf2be6709f212c2ec4e6a39feb3e7cffb Mon Sep 17 00:00:00 2001 From: Gordon Shumway <39967334+oddluck@users.noreply.github.com> Date: Tue, 16 Apr 2019 21:36:24 -0400 Subject: [PATCH] allow .asc files --- ASCII/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ASCII/plugin.py b/ASCII/plugin.py index 776bb8b..d6fe743 100644 --- a/ASCII/plugin.py +++ b/ASCII/plugin.py @@ -553,7 +553,7 @@ class ASCII(callbacks.Plugin): opts += '-w {0} '.format(w) else: opts += '-w 80 ' - if url.lower().endswith(".ans"): + if url.lower().endswith(".ans") or url.lower().endswith(".asc"): file = requests.get(url) if "" in file.text: irc.reply("Error: ansi2irc requires a text file as input.")