Commit 922b0b6b authored by mitshel's avatar mitshel
Browse files

Development sopdswrap.py, sopdstempl.py modules, Intermediate commit.

parent f040b033
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@ import base64
import subprocess
import zipf
import sopdswrap
import sopdstempl
from urllib import parse

modeCGI  = 0
@@ -78,7 +79,7 @@ class opdsClient():
           self.modulePath=self.cfg.CGI_PATH
        self.opdsdb=sopdsdb.opdsDatabase(self.cfg.DB_NAME,self.cfg.DB_USER,self.cfg.DB_PASS,self.cfg.DB_HOST,self.cfg.ROOT_LIB)

        self.template1=sopdswrap.opdsTemplate(self.modulePath)
        self.template1=sopdstempl.opdsTemplate(self.modulePath)
        self.opdsWrapper=sopdswrap.baseWrapper(self.cfg, self.template1)

    def resetParams(self):

py/sopdstempl.py

0 → 100644
+266 −0

File added.

Preview size limit exceeded, changes collapsed.

+1 −135

File changed.

Preview size limit exceeded, changes collapsed.