def _fix_ie_filename(self, filename):
    'Internet Explorer 6 transmits the full file name if a file is\n        uploaded.  This function strips the full path if it thinks the\n        filename is Windows-like absolute.\n        '
    if ((filename[1:3] == ':\\') or (filename[:2] == '\\\\')):
        return filename.split('\\')[(- 1)]
    return filename
Internet Explorer 6 transmits the full file name if a file is
uploaded.  This function strips the full path if it thinks the
filename is Windows-like absolute.
def _fix_ie_filename(self, filename):
    'Internet Explorer 6 transmits the full file name if a file is\n        uploaded.  This function strips the full path if it thinks the\n        filename is Windows-like absolute.\n        '
    if ((filename[1:3] == ':\\') or (filename[:2] == '\\\\')):
        return filename.split('\\')[(- 1)]
    return filename