existing script error is resolved

This commit is contained in:
Ubuntu 2024-06-12 08:55:41 +00:00
parent f282453911
commit f45256b617
1 changed files with 3 additions and 1 deletions

View File

@ -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,