Update middleware.py

Default value for DOWNTIME_EXEMPT_PATHS should be a tuple