def check_win_maxpath(folder):
 if sabnzbd.WIN32:
  for p in os.listdir(folder):
   if (len(os.path.join(folder, p)) > 259):
    return False
 return True

def check_win_maxpath ( folder ) : if sabnzbd . WIN32 : for p in os . listdir ( folder ) : if ( len ( os . path . join ( folder , p ) ) > 259 ) : return False return True
return false if any file path in folder exceeds the windows maximum .