Skip to content

Commit

Permalink
Merge pull request #221 from ibuler/master
Browse files Browse the repository at this point in the history
Reset the random seed
  • Loading branch information
mbi authored Oct 3, 2023
2 parents 6a506d0 + dcf1ccd commit eb9f706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion captcha/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def captcha_image(request, key, scale=1):
response = HttpResponse(content_type="image/png")
response.write(out.read())
response["Content-length"] = out.tell()

random.seed()
return response


Expand Down

0 comments on commit eb9f706

Please sign in to comment.