web/webctl.py
branchstable
changeset 5415 6bb0c3a53589
parent 4252 6c4f109c2b03
child 5421 8167de96c523
--- a/web/webctl.py	Mon Apr 26 17:55:36 2010 +0200
+++ b/web/webctl.py	Tue Apr 27 11:23:20 2010 +0200
@@ -18,7 +18,7 @@
         """bootstrap this configuration"""
         print '\n' + underline_title('Generic web configuration')
         config = self.config
-        if config.repo_method == 'pyro':
+        if config.repo_method == 'pyro' or config.pyro_enabled():
             print '\n' + underline_title('Pyro configuration')
             config.input_config('pyro', inputlevel)
         if ASK.confirm('Allow anonymous access ?', False):