changeset 2124:005938143378

Initialize theme eariler, so that it works with xmlrpc getPageHTML
author Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
date Fri, 15 Jun 2007 17:35:16 +0200
parents 184975c4b86f
children 9d5f4ba23a54
files MoinMoin/request/__init__.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/request/__init__.py	Thu Jun 14 03:44:38 2007 +0200
+++ b/MoinMoin/request/__init__.py	Fri Jun 15 17:35:16 2007 +0200
@@ -1130,6 +1130,8 @@
         self.html_formatter = Formatter(self)
         self.formatter = self.html_formatter
 
+        self.initTheme()
+
         action_name = self.action
         if action_name == 'xmlrpc':
             from MoinMoin import xmlrpc
@@ -1141,8 +1143,6 @@
 
         # parse request data
         try:
-            self.initTheme()
-
             # The last component in path_info is the page name, if any
             path = self.getPathinfo()