if sender is None:\r
sender = (str(settings.APP_SHORT_NAME), str(settings.DEFAULT_FROM_EMAIL))\r
\r
if sender is None:\r
sender = (str(settings.APP_SHORT_NAME), str(settings.DEFAULT_FROM_EMAIL))\r
\r
- images.append((os.path.join(str(settings.UPFILES_FOLDER), os.path.basename(str(settings.APP_LOGO))), 'logo'))\r
+ if not len(images):\r
+ images = [(os.path.join(str(settings.UPFILES_FOLDER), os.path.basename(str(settings.APP_LOGO))), 'logo')]\r
\r
context.update(application_settings(None))\r
html_body = loader.get_template(template).render(Context(context))\r
\r
context.update(application_settings(None))\r
html_body = loader.get_template(template).render(Context(context))\r