mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-20 05:13:21 -07:00
Add newsletter template folder config option
This commit is contained in:
parent
1f7be7a4d5
commit
bbca0b3b42
2 changed files with 2 additions and 1 deletions
|
@ -244,7 +244,7 @@ def send_newsletter(newsletter_id=None, subject=None, notify_action='', newslett
|
|||
|
||||
def serve_template(templatename, **kwargs):
|
||||
interface_dir = os.path.join(str(plexpy.PROG_DIR), 'data/interfaces/')
|
||||
template_dir = os.path.join(str(interface_dir), 'newsletters')
|
||||
template_dir = os.path.join(str(interface_dir), plexpy.CONFIG.INTERFACE_NEWSLETTERS)
|
||||
|
||||
_hplookup = TemplateLookup(directories=[template_dir], default_filters=['unicode', 'h'])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue