port_karma_to_django: properly import nickmask
This commit is contained in:
parent
7ee07ae81e
commit
0c7b880517
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user