Skip to content
This repository was archived by the owner on Apr 29, 2022. It is now read-only.

Commit 08abda7

Browse files
committed
silly bug and fix
1 parent c25f900 commit 08abda7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conference/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def ensure_post(fn):
8686
# payload instead of a simple 405.
8787
@wraps(fn)
8888
def wrapper(request, *args, **kwargs):
89-
if not request.method != 'POST':
89+
if request.method != 'POST':
9090
return _error(ApiError.WRONG_SCHEME, 'please use POST')
9191
return fn(request, *args, **kwargs)
9292
return wrapper

0 commit comments

Comments
 (0)