Fixed function to work with Flask 0.10.x

Flask 0.10.x uses changed the attribute name from static_path to static_folder