Skip to content

Commit

Permalink
remove F() expression
Browse files Browse the repository at this point in the history
  • Loading branch information
carmichaelong committed Sep 20, 2024
1 parent bc9042f commit 09e45b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mcserver/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -1510,8 +1510,8 @@ def dequeue(self, request):
trial.status = "processing"
trial.server = ip
trial.hostname = hostname
trial.processed_count += 1
trial.save()
trial.objects.update(processed_count=(F("processed_count") + 1))

print(ip)
print(trial.session.server)
Expand Down

0 comments on commit 09e45b5

Please sign in to comment.