Handle these 2 kinds of script paths * user script path: ~/.blender/scripts OR $BLENDER_USER_SCRIPTS * pref script path: always bpy.context.user_preferences.filepaths.script_directory now both are returned by bpy.utils.script_paths()
Handle these 2 kinds of script paths * user script path: ~/.blender/scripts OR $BLENDER_USER_SCRIPTS * pref script path: always bpy.context.user_preferences.filepaths.script_directory now both are returned by bpy.utils.script_paths()