existing script error resolved

This commit is contained in:
Ubuntu 2024-06-12 08:40:45 +00:00
parent 67ee372b98
commit f282453911
1 changed files with 3 additions and 2 deletions

View File

@ -280,9 +280,10 @@ class Conversion:
dataframe = df
self.list_of_lists = dataframe.values.tolist()
falser = False
elif self.existing_script:
if MNFScriptDatabase.objects.get(script_id=self.original_script_object.script_id).audit_id:
if falser:
# if MNFScriptDatabase.objects.get(script_id=self.original_script_object.script_id).audit_id:
audit_id = MNFScriptDatabase.objects.get(script_id=self.original_script_object.script_id).audit_id
file_path_ = filesystem.get_file_path(audit_id, "script-csv")
try: