Closed anthonydb closed 8 years ago
Currently, the extension of a file is being included in the title of a document. These need to be stripped. Initial reading suggests a basic .replace() is problematic.
.replace()
http://www.jaharmi.com/2010/02/18/remove_filename_extensions_with_os_path_splitext_instead_of_the_lrstrip_or_replace_method
Closed via https://github.com/anthonydb/pneumatic/commit/348e61dcbb6c6775fb54e71a40c5d9483dd95ea1
Currently, the extension of a file is being included in the title of a document. These need to be stripped. Initial reading suggests a basic
.replace()
is problematic.http://www.jaharmi.com/2010/02/18/remove_filename_extensions_with_os_path_splitext_instead_of_the_lrstrip_or_replace_method