From 2fab47a15b318ccad63bccdfdfb74cef663ed327 Mon Sep 17 00:00:00 2001 From: venkataakhil Date: Tue, 18 Apr 2023 13:43:56 +0530 Subject: [PATCH] FIle ext final push --- smart_service/apis/master_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smart_service/apis/master_api.py b/smart_service/apis/master_api.py index 7b1629a..6147835 100644 --- a/smart_service/apis/master_api.py +++ b/smart_service/apis/master_api.py @@ -393,7 +393,7 @@ def change_file_dir(): base_path = os.path.expanduser( "~") + "/frappe-bench/sites/" + site_name + "/public" file_data = frappe.db.sql(''' - select name,file from tabProcedure_Details where content_type = 'File' and file = '/files/Driver Seat Back Rest Foam.jpg' ;''', as_dict=1) + select name,file from tabProcedure_Details where content_type = 'File' ;''', as_dict=1) changed_file_list = [] for d in file_data: frappe.log_error("File data :", str(d))