Merge branch 'master' of git.incorporeal.org:dr.botzo
This commit is contained in:
commit
7ee07ae81e
@ -27,7 +27,9 @@ try:
|
||||
category, c = FactCategory.objects.get_or_create(name=category_name)
|
||||
|
||||
fact_text = row[2]
|
||||
nickmask = row[4]
|
||||
nick = row[3]
|
||||
usermask = row[4]
|
||||
nickmask = nick + "!" + usermask
|
||||
fact = Fact.objects.create(category=category, fact=fact_text, nickmask=nickmask)
|
||||
except NoOptionError as noe:
|
||||
sys.exit("Aborted due to error in config: {0:s}".format(str(noe)))
|
||||
|
Loading…
Reference in New Issue
Block a user