Merge branch 'master' into staging

This commit is contained in:
Nabin Hait 2017-10-23 13:02:09 +05:30
commit 8db6c97f8a
3 changed files with 2 additions and 32 deletions

View file

@ -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__ = '9.1.9'
__version__ = '9.1.10'
__title__ = "Frappe Framework"
local = Local()

View file

@ -10,35 +10,6 @@
"doctype": "DocType",
"editable_grid": 0,
"fields": [
{
"allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
"columns": 0,
"fieldname": "column_break0",
"fieldtype": "Column Break",
"hidden": 0,
"ignore_user_permissions": 0,
"ignore_xss_filter": 0,
"in_filter": 0,
"in_global_search": 0,
"in_list_view": 0,
"in_standard_filter": 0,
"length": 0,
"no_copy": 0,
"permlevel": 0,
"print_hide": 0,
"print_hide_if_no_value": 0,
"read_only": 0,
"remember_last_selected_value": 0,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"set_only_once": 0,
"unique": 0,
"width": "50%"
},
{
"allow_bulk_edit": 0,
"allow_on_submit": 0,
@ -231,7 +202,7 @@
"issingle": 1,
"istable": 0,
"max_attachments": 0,
"modified": "2017-10-17 14:30:41.503586",
"modified": "2017-10-23 12:57:20.943845",
"modified_by": "Administrator",
"module": "Core",
"name": "SMS Settings",

View file

@ -270,7 +270,6 @@ def send_token_via_sms(otpsecret, token=None, phone_no=None):
hotp = pyotp.HOTP(otpsecret)
args = {
ss.sms_sender_name: otp_issuer,
ss.message_parameter: 'Your verification code is {}'.format(hotp.at(int(token)))
}