Merge branch 'master' into develop
This commit is contained in:
commit
f4594a86ec
2 changed files with 2 additions and 2 deletions
|
|
@ -13,7 +13,7 @@ import os, sys, importlib, inspect, json
|
|||
from .exceptions import *
|
||||
from .utils.jinja import get_jenv, get_template, render_template
|
||||
|
||||
__version__ = '8.0.53'
|
||||
__version__ = '8.0.54'
|
||||
__title__ = "Frappe Framework"
|
||||
|
||||
local = Local()
|
||||
|
|
|
|||
|
|
@ -218,7 +218,7 @@ def upload(rows = None, submit_after_import=None, ignore_encoding_errors=False,
|
|||
elif file_extension == '.csv':
|
||||
from frappe.utils.file_manager import get_file
|
||||
from frappe.utils.csvutils import read_csv_content
|
||||
fname, fcontent = get_file(file_doc.names)
|
||||
fname, fcontent = get_file(file_doc.name)
|
||||
rows = read_csv_content(fcontent, ignore_encoding_errors)
|
||||
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue