remove old self.matches declarations

This commit is contained in:
Gordon Shumway 2019-08-27 23:32:56 -04:00 committed by GitHub
parent a4a06a59ed
commit f8927b194c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -1610,7 +1610,6 @@ class ASCII(callbacks.Plugin):
speed = 'fast'
file = requests.get("http://wttr.in/{0}".format(location))
output = file.content.decode()
self.matches = {}
output = self.ansi2irc(output)
output = re.sub('', '', output)
output = re.sub('', ' ', output)
@ -1664,7 +1663,6 @@ class ASCII(callbacks.Plugin):
sub = 'usd'
if not coin:
coin = ''
self.matches= {}
file = requests.get("http://{0}.rate.sx/{1}".format(sub, coin))
output = file.content.decode()
output = self.ansi2irc(output)