[files] [cleanup/redesign] removed the old file_list structure and also added file listing in setup

This commit is contained in:
Rushabh Mehta 2013-04-10 14:14:48 +05:30
parent 04a1916bbd
commit 753ae05ba9

View File

@ -36,7 +36,7 @@ def update_for_doc(doctype, doc):
exists = True
if not (filename.startswith("http://") or filename.startswith("https://")):
if not os.path.exists(webnotes.utils.get_path("public", "files", filename):
if not os.path.exists(webnotes.utils.get_path("public", "files", filename)):
exists = False
if exists: