diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-07-17 13:56:37 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-07-17 13:56:37 +0000 |
| commit | 954106887a9b77a26753c5613ff368ce4c997044 (patch) | |
| tree | d1a1a1967d7a77a2e3d6cf871dc74911b180dd69 /lib/python/Plugins/Extensions/WebInterface/webif.py | |
| parent | 982001658e3e55d320d747717fcf8e56c2cec1b6 (diff) | |
| download | enigma2-954106887a9b77a26753c5613ff368ce4c997044.tar.gz enigma2-954106887a9b77a26753c5613ff368ce4c997044.zip | |
move xml files into web/, support hierarchy
Diffstat (limited to 'lib/python/Plugins/Extensions/WebInterface/webif.py')
| -rw-r--r-- | lib/python/Plugins/Extensions/WebInterface/webif.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Plugins/Extensions/WebInterface/webif.py b/lib/python/Plugins/Extensions/WebInterface/webif.py index 6025a2e2..3bbc28dd 100644 --- a/lib/python/Plugins/Extensions/WebInterface/webif.py +++ b/lib/python/Plugins/Extensions/WebInterface/webif.py @@ -174,12 +174,12 @@ def lreduce(list): string = None return res -def renderPage(stream, req, session): +def renderPage(stream, path, session): handler = webifHandler(session) parser = make_parser() parser.setFeature(feature_namespaces, 0) parser.setContentHandler(handler) - parser.parse(open(util.sibpath(__file__, 'test.xml'))) # currently fixed + parser.parse(open(util.sibpath(__file__, path))) for x in lreduce(handler.res): stream.write(str(x)) stream.finish() # must be done, unless we "callLater" |
