# HG changeset patch # User Paul Boddie # Date 1341953965 -7200 # Node ID 7ff0c8163da5494c120380991bbd699e37f435e7 # Parent d7e1760a4c0b6cd6ff5e7b876c9e3905cb89a527 Fixed an initialisation error when the static URL path is absent. diff -r d7e1760a4c0b -r 7ff0c8163da5 moinsetup.py --- a/moinsetup.py Tue Jul 10 18:26:42 2012 +0200 +++ b/moinsetup.py Tue Jul 10 22:59:25 2012 +0200 @@ -441,7 +441,7 @@ raise TypeError, "The 'url_path' setting must be specified." self.url_path = self._tidy_url_path(url_path) - self.static_url_path = self._tidy_url_path(static_url_path) + self.static_url_path = static_url_path and self._tidy_url_path(static_url_path) # Define and create specific directories. # Here are the configuration and actual Wiki data directories.