existing script error is resolved
This commit is contained in:
parent
f282453911
commit
f45256b617
|
@ -3,6 +3,7 @@ import os
|
||||||
import boto3
|
import boto3
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
import datetime
|
import datetime
|
||||||
|
import time
|
||||||
import json
|
import json
|
||||||
import tempfile
|
import tempfile
|
||||||
|
|
||||||
|
@ -303,10 +304,11 @@ class Conversion:
|
||||||
(script1.split("/"))[-1],
|
(script1.split("/"))[-1],
|
||||||
)
|
)
|
||||||
language_code = "en"
|
language_code = "en"
|
||||||
|
unique_str = "_" + str(int(time.time()))
|
||||||
result = filesystem.new_screenplay_without_audit_in_background(
|
result = filesystem.new_screenplay_without_audit_in_background(
|
||||||
self.user,
|
self.user,
|
||||||
self.user.username,
|
self.user.username,
|
||||||
str(self.name_script),
|
str(self.name_script)+str(unique_str),
|
||||||
file,
|
file,
|
||||||
"script-original",
|
"script-original",
|
||||||
language_code,
|
language_code,
|
||||||
|
|
Loading…
Reference in New Issue