Capitalized middleware on line 141 of  __init__.py

I may be missing something but I am pretty sure that in the detect_mobile decorator middleware.process_request is supposed to be Middleware.process_request . It is the only way I got it to work without errors. It makes sense since process_request() is a method of the Middleware class.