mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Remove missed debugging statement
This commit is contained in:
parent
5fd3821152
commit
205068a993
1 changed files with 0 additions and 1 deletions
|
@ -676,7 +676,6 @@ def _check_dynamic_request_permissions():
|
||||||
"Unexpected API access. Please report this message on the Anki forums."
|
"Unexpected API access. Please report this message on the Anki forums."
|
||||||
)
|
)
|
||||||
|
|
||||||
print(context, request.headers["Content-type"], request.path)
|
|
||||||
# check content type header to ensure this isn't an opaque request from another origin
|
# check content type header to ensure this isn't an opaque request from another origin
|
||||||
if request.headers["Content-type"] != "application/binary":
|
if request.headers["Content-type"] != "application/binary":
|
||||||
aqt.mw.taskman.run_on_main(warn)
|
aqt.mw.taskman.run_on_main(warn)
|
||||||
|
|
Loading…
Reference in a new issue