Skip to content
Snippets Groups Projects
Commit 10ca53d7 authored by 한동현's avatar 한동현
Browse files

feat(ocr): 차량 로그 조회 API 정렬 추가

parent cfc04887
No related branches found
No related tags found
No related merge requests found
......@@ -81,6 +81,7 @@ def handle_http_request(handler):
def send_file_list(handler, dir_path):
try:
files = [file for file in os.listdir(dir_path) if os.path.isfile(os.path.join(dir_path, file))]
files.sort(reverse=True)
handler.send_response(200)
handler.send_header('Content-Type', 'application/json')
handler.send_header('Access-Control-Allow-Origin', '*')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment