human
Solve the following python programming problem given the following code:
def device(view) : 
    '
    Modifies the `request` object, adding the detected
    WURFL device object in `request.device`
    ' 
    def _decorator(request, * args, **kwargs) : 
        if (not hasattr (request, 'device')) : 
            m = DeviceMiddleware () 
            m.process_request (request) 
return view (request, * args, ** kwargs) 
_decorator.__doc__ = view.__doc__ 
    _decorator.__name__ = _decorator.__name__ 
    return _decorator 

    
    

    Fix the buggy line: _decorator.__name__ = _decorator.__name__
assistant
#Here is Python program to fix the buggy line: _decorator.

_decorator.__name__ = view.__name__