[files] [cleanup/redesign] removed the old file_list structure and also added file listing in setup
This commit is contained in:
parent
9e93037119
commit
cc887a8320
@ -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://")):
|
||||
|
Loading…
x
Reference in New Issue
Block a user