chat: Don't break the uberdog if there is a new line
This commit is contained in:
parent
a3d3e694c5
commit
f5f033edc8
2 changed files with 3 additions and 1 deletions
|
@ -3,6 +3,8 @@ class SequenceList:
|
|||
def __init__(self, wordlist):
|
||||
self.list = {}
|
||||
for line in wordlist.split('\r\n'):
|
||||
if line is '':
|
||||
continue
|
||||
split = line.split(':')
|
||||
self.list[split[0].lower()] = [word.rstrip('\r\n').lower() for word in split[1].split(',')]
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 008d0bf2a05a060ab18bdda1ce3975fd3d2a4909
|
||||
Subproject commit 306c0a3a03d1474891fda914ab439afd9cddd531
|
Loading…
Reference in a new issue