def href_to_name(self, href, base=None): return href_to_name(href, ('C:\\root' if iswindows else '/root'), base)