fix error in model

This commit is contained in:
Robert Einsle 2017-02-26 12:37:47 +01:00
parent 2eb8802e83
commit 1323976521

View File

@ -153,7 +153,7 @@ def process_location_data():
acc.save()
ld.delete()
else:
if len(acc) > 0:
if len(ac) > 0:
acc = ac[0]
acc.time_to = ld.tst
acc.prize = utils.get_prize_for(