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
@@ -106,7 +106,7 @@ class rclEPUB:
self.currentindex = -1
self.contents = []
try:
self.book = epub.open_epub(params["filename:"].decode('UTF-8'))
self.book = epub.open_epub(params["filename"].decode('UTF-8'))
except Exception as err:
self.em.rclog("openfile: epub.open failed: [%s]" % err)
return False
@@ -117,7 +117,7 @@ class rclEPUB:
def getipath(self, params):
return self.extractone(params["ipath:"].decode('UTF-8'))
return self.extractone(params["ipath"].decode('UTF-8'))
def getnext(self, params):
if self.catenate: