def _make_absolute(filename):
        """Ensure filename is absolute to avoid effect of os.chdir."""
        return (
            filename
            if os.path.isabs(filename)
            else (
                os.path.normpath(os.path.join(_module__file__base, filename))
            )
        )
Ensure filename is absolute to avoid effect of os.chdir.
cherrypy/process/plugins.py