* fix(unicode): Import unicode_literals in every file * fix(unicode): Test if safe_json_loads return unicode instead of bytes
6 lines
225 B
Python
6 lines
225 B
Python
from __future__ import unicode_literals
|
|
import frappe
|
|
|
|
def execute():
|
|
if "device" not in frappe.db.get_table_columns("Sessions"):
|
|
frappe.db.sql("alter table tabSessions add column `device` varchar(255) default 'desktop'")
|