Browse Source

Remove Extra spaces update

master
venkataakhil 1 year ago
parent
commit
742511eaba
  1. 5
      smart_service/apis/master_api.py

5
smart_service/apis/master_api.py

@ -436,8 +436,8 @@ def change_file_dir():
def file_not_exists():
file_data = frappe.db.sql('''
select parent,step_name,file,name from tabProcedure_Details where content_type = 'File' order by parent;''', as_dict=1)
file_data = frappe.db.sql(
'''select parent,step_name,file,name from tabProcedure_Details where content_type = 'File' order by parent;''', as_dict=1)
changed_file_list = []
count = 1
@ -461,7 +461,6 @@ def file_not_exists():
def remove_extra_spaces_in_file_path():
frappe.db.sql(f''' set sql_safe_updates=0; ''')
import re
file_path_not_exists = base_path + "/files/json_files/1.json"
with open(file_path_not_exists, 'r') as outfile:

Loading…
Cancel
Save