Renamed a few extension-less python handlers with a .py extension for consistency
This commit is contained in:
@@ -51,7 +51,7 @@ using namespace std;
|
||||
// The internal path element separator. This can't be the same as the rcldb
|
||||
// file to ipath separator : "|"
|
||||
// We replace it with a control char if it comes out of a filter (ie:
|
||||
// rclzip or rclchm can do this). If you want the SOH control char
|
||||
// rclzip.py or rclchm.py can do this). If you want the SOH control char
|
||||
// inside an ipath, you're out of luck (and a bit weird).
|
||||
static const string cstr_isep(":");
|
||||
|
||||
|
||||
@@ -82,8 +82,7 @@ bool MimeHandlerExec::set_document_file_impl(const std::string& mt,
|
||||
tpsread = true;
|
||||
if (!nomd5tps.empty()) {
|
||||
if (params.size() &&
|
||||
nomd5tps.find(path_getsimple(params[0])) !=
|
||||
nomd5tps.end()) {
|
||||
nomd5tps.find(path_getsimple(params[0])) != nomd5tps.end()) {
|
||||
m_handlernomd5 = true;
|
||||
}
|
||||
// On windows the 1st param is often a script interp
|
||||
|
||||
@@ -73,7 +73,7 @@ text/plainData: 10
|
||||
* time). Absent during indexing (ipaths are generated and sent back from
|
||||
* the script)
|
||||
* - Mimetype: this is the mime type for the (possibly container) file.
|
||||
* Can be useful to filters which handle multiple types, like rclaudio.
|
||||
* Can be useful to filters which handle multiple types, like rclaudio.py.
|
||||
*
|
||||
* The script answers with messages having the following fields:
|
||||
* - Document: translated document data.
|
||||
|
||||
Reference in New Issue
Block a user