mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
log the html root for debugging purposes
This commit is contained in:
parent
a8c3a73013
commit
f449b83ee5
@ -67,6 +67,7 @@ class PagePlugin:
|
|||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
"""If cfg.html_root is none, then this is the html_root."""
|
"""If cfg.html_root is none, then this is the html_root."""
|
||||||
if not cfg.html_root:
|
if not cfg.html_root:
|
||||||
|
cfg.log('Setting html root to %s' % self.__class__.__name__)
|
||||||
cfg.html_root = self
|
cfg.html_root = self
|
||||||
|
|
||||||
def register_page(self, url):
|
def register_page(self, url):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user