diff --git a/frappe/__init__.py b/frappe/__init__.py index f4b4b90cf4..5d9b65c05e 100644 --- a/frappe/__init__.py +++ b/frappe/__init__.py @@ -14,7 +14,7 @@ import os, sys, importlib, inspect, json from .exceptions import * from .utils.jinja import get_jenv, get_template, render_template, get_email_from_template -__version__ = '8.7.7' +__version__ = '8.7.8' __title__ = "Frappe Framework" local = Local() diff --git a/frappe/commands/site.py b/frappe/commands/site.py index f8efd4182a..01182f5c2e 100755 --- a/frappe/commands/site.py +++ b/frappe/commands/site.py @@ -460,7 +460,7 @@ def _set_limits(context, site, limits): elif limit=='space': value = float(value) - elif limit in ('users', 'emails', 'email_group'): + elif limit in ('users', 'emails', 'email_group', 'daily_emails'): value = int(value) new_limits[limit] = value diff --git a/frappe/email/queue.py b/frappe/email/queue.py index 3260a0efdf..0452cba5bc 100755 --- a/frappe/email/queue.py +++ b/frappe/email/queue.py @@ -218,7 +218,7 @@ def check_email_limit(recipients): or frappe.flags.in_test): monthly_email_limit = frappe.conf.get('limits', {}).get('emails') - daily_email_limit = frappe.conf.get('limits', {}).get('daily_emails') + daily_email_limit = cint(frappe.conf.get('limits', {}).get('daily_emails')) if frappe.flags.in_test: monthly_email_limit = 500