mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-12 23:07:41 +00:00
[files] [cleanup/redesign] removed the old file_list structure and also added file listing in setup
This commit is contained in:
@@ -32,7 +32,11 @@ def update_for_doc(doctype, doc):
|
||||
if not filedata:
|
||||
continue
|
||||
|
||||
filename, fileid = filedata.split(",")
|
||||
filedata = filedata.split(",")
|
||||
if len(filedata)==2:
|
||||
filename, fileid = filedata[0], filedata[1]
|
||||
else:
|
||||
continue
|
||||
|
||||
exists = True
|
||||
if not (filename.startswith("http://") or filename.startswith("https://")):
|
||||
|
||||
Reference in New Issue
Block a user