From 67abe96104657a02537d2f074cda61a7a1734048 Mon Sep 17 00:00:00 2001 From: hong seokho Date: Thu, 14 Mar 2024 07:14:12 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20filename=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - filename에서 디렉토리, 멤버 아이디, 파일 이름을 합쳐서 보내는 것으로 변경 --- backend/AnimatedDrawings/application/animation_queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/AnimatedDrawings/application/animation_queue.py b/backend/AnimatedDrawings/application/animation_queue.py index 8bc8bdd3d..da9df4717 100644 --- a/backend/AnimatedDrawings/application/animation_queue.py +++ b/backend/AnimatedDrawings/application/animation_queue.py @@ -70,7 +70,7 @@ def callback( try: json_object = self.parse_json(body) - filename = '%s.gif' % uuid.uuid4() + filename = f"capsuleSkin/{json_object['memberId']}/{uuid.uuid4()}.gif" chain( self.make_animation_task.s(input_data=json_object,