瀏覽代碼

Merge branch 'master' into develop

version-14
mbauskar 8 年之前
父節點
當前提交
8e5becf32b
共有 3 個檔案被更改,包括 3 行新增3 行删除
  1. +1
    -1
      frappe/__init__.py
  2. +1
    -1
      frappe/commands/site.py
  3. +1
    -1
      frappe/email/queue.py

+ 1
- 1
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()


+ 1
- 1
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


+ 1
- 1
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


Loading…
取消
儲存