[files] [cleanup/redesign] removed the old file_list structure and also added file listing in setup
diff --git a/patches/april_2013/p05_update_file_data.py b/patches/april_2013/p05_update_file_data.py
index a9a3cf9..dc3b9a8 100644
--- a/patches/april_2013/p05_update_file_data.py
+++ b/patches/april_2013/p05_update_file_data.py
@@ -36,7 +36,7 @@
exists = True
if not (filename.startswith("http://") or filename.startswith("https://")):
- if not os.path.exists(os.path.join(webnotes.utils.get_base_path(), "public", "files", filename)):
+ if not os.path.exists(webnotes.utils.get_path("public", "files", filename):
exists = False
if exists: