Skip to content

Variable now not defined in jinja2 email template #1335

@sideeffffect

Description

@sideeffffect

Expected behaviour:

I use now in an jinja2 email template. I expect now variable to be defined.

Actual behaviour:

It is not defined.

e.g.

2016-08-12 00:31 ERROR    email         1_1080p_Preacher Error rendering email body: (UndefinedError) 'now' is undefined

Steps to reproduce:

run flexget with the specific configuration

Config:

I'm referring to the configuration and email template at https://github.com/sideeffffect/flexgen

Additional information:

  • Flexget Version: 2.2.15
  • Python Version: Python 2.7.6
  • Installation method: pip
  • OS and version: Ubuntu 14.04, Linux odroid 3.8.13.28 #1 SMP PREEMPT Wed Dec 3 18:40:50 BRST 2014 armv7l armv7l armv7l GNU/Linux

(related to #1324)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions