|
|
@ -482,17 +482,17 @@ def new_publish(args, publish_type, vehicle, language, version): |
|
|
|
prev_full_update_file, file_name, full_update_file_name) |
|
|
|
get_step_total_count(final_update_file) |
|
|
|
if file_flag: |
|
|
|
# return True, file_name.split("public")[1] |
|
|
|
return True, file_name |
|
|
|
return True, file_name.split("public")[1] |
|
|
|
# return True, file_name |
|
|
|
else: |
|
|
|
return False, "File save issue" |
|
|
|
|
|
|
|
# return True, file_name.split("public")[1] |
|
|
|
return True, file_name |
|
|
|
return True, file_name.split("public")[1] |
|
|
|
# return True, file_name |
|
|
|
except Exception as e: |
|
|
|
# return "Failed to save file" |
|
|
|
# frappe.log_error("Publish",frappe.get_traceback()) |
|
|
|
return False, str(frappe.get_traceback(e)) |
|
|
|
frappe.log_error("Publish",frappe.get_traceback()) |
|
|
|
return False, str(frappe.get_traceback()) |
|
|
|
|
|
|
|
|
|
|
|
@frappe.whitelist() |
|
|
|