Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

code_scanner executes twice #41

Open
5h3rr1ll opened this issue Nov 4, 2019 · 0 comments
Open

code_scanner executes twice #41

5h3rr1ll opened this issue Nov 4, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@5h3rr1ll
Copy link
Owner

5h3rr1ll commented Nov 4, 2019

When scanning a code at http://localhost:8000/code_scanner/ (codeScanner/templates/codeScanner/code_scanner.html) the scanner should pause after recognizing a code and sends that code to the scraper at http://localhost:8000/lookup/CODE (scraper/views.py). The problem is that the scanner sends the same code twice, so the scraper also runs twice with the same code.

The scanner should only scan one code and send one code to the scraper.

image

Screenshots
If applicable, add screenshots to help explain your problem.

@5h3rr1ll 5h3rr1ll added the bug Something isn't working label Nov 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant