Add more hack to deal with list of string format}

This commit is contained in:
Shauna 2014-10-18 00:59:20 -04:00
parent b19da63151
commit 70a489ad71
1 changed files with 1 additions and 1 deletions

2
bot.py
View File

@ -28,7 +28,7 @@ class Bot(object):
csv_file_data = csv.reader(csv_file, delimiter=',', quotechar='|')
for row in csv_file_data:
row = clean_nick(row[0]) # Sends nicks to remove unnecessary decorators. Hacked to deal with list-of-string format. :(
self.known_nicks.append(row)
self.known_nicks.append([row])
self.newcomers = []
self.hello_regex = re.compile(get_regex(hello_list), re.I) # Regexed version of hello list
self.help_regex = re.compile(get_regex(help_list), re.I) # Regexed version of help list