<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def logo_element():
 """Create a sanitised local url to the logo for insertion into html. :returns: A sanitised local url to the logo prefixed with file://. :rtype: str ..note:: We are not using QUrl here because on Windows 10 it returns an empty path if using QUrl.toLocalPath """


    path = os.path.join(resources_path(), 'img', 'logos', 'inasafe-logo.png')
    url = urllib.parse.urljoin('file:', urllib.request.pathname2url(path))
    return url