Skip to content

Commit

Permalink
Merge pull request #144 from UnitapApp/develop
Browse files Browse the repository at this point in the history
change tmp.py
  • Loading branch information
Mohamad Bastin authored Oct 17, 2023
2 parents 20ab43b + e2efbfe commit 0cd7427
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 0cd7427

Please sign in to comment.