mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 11:19:09 +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:
|
if not filedata:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
filename, fileid = filedata.split(",")
|
filedata = filedata.split(",")
|
||||||
|
if len(filedata)==2:
|
||||||
|
filename, fileid = filedata[0], filedata[1]
|
||||||
|
else:
|
||||||
|
continue
|
||||||
|
|
||||||
exists = True
|
exists = True
|
||||||
if not (filename.startswith("http://") or filename.startswith("https://")):
|
if not (filename.startswith("http://") or filename.startswith("https://")):
|
||||||
|
|||||||
Reference in New Issue
Block a user