Skip to content

Commit

Permalink
change tmp.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamad Bastin committed Oct 17, 2023
1 parent e379f7b commit e2efbfe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tmp2.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,14 @@

print(len(winners))

winners = [i.lower() for i in winners]


print(LineaRaffleEntries.objects.filter(is_winner=True).count())


for i in LineaRaffleEntries.objects.all():
if i.wallet_address in winners:
if str(i.wallet_address).lower() in winners:
i.is_winner = True
i.save()

Expand Down

0 comments on commit e2efbfe

Please sign in to comment.