You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**I've make this patch for long file names in _shared.py.
sometimes the path longfile names mod is already present and it doubles it causing an exception**
`
def _write_external_links(self, filepath):
retVal = {}
filename = filepath
if os.name == "nt":
# If the absolute path to the file is too long, append the magic prefix
if len(os.path.abspath(filename)) > 255:
if "\\?\" not in filename:
filename = u"\\?\%s" % (os.path.abspath(filename))
`
The text was updated successfully, but these errors were encountered:
**I've make this patch for long file names in _shared.py.
sometimes the path longfile names mod is already present and it doubles it causing an exception**
`
def _write_external_links(self, filepath):
retVal = {}
filename = filepath
if os.name == "nt":
# If the absolute path to the file is too long, append the magic prefix
if len(os.path.abspath(filename)) > 255:
if "\\?\" not in filename:
filename = u"\\?\%s" % (os.path.abspath(filename))
`
The text was updated successfully, but these errors were encountered: