From f45256b617bf0f3c441857a1c78be7affdb3370d Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Wed, 12 Jun 2024 08:55:41 +0000 Subject: [PATCH] existing script error is resolved --- kitchen_counter/conversion/translation/external_conversion.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kitchen_counter/conversion/translation/external_conversion.py b/kitchen_counter/conversion/translation/external_conversion.py index 93d60a6..15b572a 100644 --- a/kitchen_counter/conversion/translation/external_conversion.py +++ b/kitchen_counter/conversion/translation/external_conversion.py @@ -3,6 +3,7 @@ import os import boto3 import pandas as pd import datetime +import time import json import tempfile @@ -303,10 +304,11 @@ class Conversion: (script1.split("/"))[-1], ) language_code = "en" + unique_str = "_" + str(int(time.time())) result = filesystem.new_screenplay_without_audit_in_background( self.user, self.user.username, - str(self.name_script), + str(self.name_script)+str(unique_str), file, "script-original", language_code,