port_karma_to_django: properly import nickmask

This commit is contained in:
Brian S. Stephan 2015-06-20 16:39:51 -05:00
parent 7ee07ae81e
commit 0c7b880517

View File

@ -27,7 +27,9 @@ try:
karma_key, c = KarmaKey.objects.get_or_create(key=karma_key_name)
delta = row[2]
nickmask = row[4]
nick = row[3]
usermask = row[4]
nickmask = nick + "!" + usermask
karmatime = row[5]
karma_log = KarmaLogEntry.objects.create(key=karma_key, delta=delta, nickmask=nickmask, created=karmatime)
except NoOptionError as noe: