Have RclExecM inherit the shared CmdTalk now that the latter is used anyway for the korean splitter. Main diff: cmdtalk strips the colon from param names and does not lowercase them

This commit is contained in:
Jean-Francois Dockes
2020-03-27 11:07:51 +01:00
parent 9a3cea2728
commit 90dd64fc61
17 changed files with 101 additions and 184 deletions
+2 -2
View File
@@ -50,7 +50,7 @@ class InfoExtractor:
###### File type handler api, used by rclexecm ---------->
def openfile(self, params):
self.file = params["filename:"]
self.file = params["filename"]
if not os.path.isfile(self.file):
self.em.rclog("Openfile: %s is not a file" % self.file)
@@ -78,7 +78,7 @@ class InfoExtractor:
# Extract specific node
def getipath(self, params):
try:
index = int(params["ipath:"])
index = int(params["ipath"])
except:
return (False, "", "", True)
return self.extractone(index)