def long_path(path):
 if (sabnzbd.WIN32 and path and (not path.startswith(u'\\\\?\\'))):
  if path.startswith('\\\\'):
   path = path.replace(u'\\\\', u'\\\\?\\UNC\\', 1)
  else:
   path = (u'\\\\?\\' + path)
 return path

def long_path ( path ) : if ( sabnzbd . WIN32 and path and ( not path . startswith ( u'\\\\?\\' ) ) ) : if path . startswith ( '\\\\' ) : path = path . replace ( u'\\\\' , u'\\\\?\\UNC\\' , 1 ) else : path = ( u'\\\\?\\' + path ) return path
for windows .