From 1da3782a9162dfe0a3a51220b85799151df52a53 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Wed, 12 Jun 2024 09:36:14 +0000 Subject: [PATCH] existing script error is resolved 2 --- kitchen_counter/conversion/translation/external_conversion.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kitchen_counter/conversion/translation/external_conversion.py b/kitchen_counter/conversion/translation/external_conversion.py index 15b572a..3e81914 100644 --- a/kitchen_counter/conversion/translation/external_conversion.py +++ b/kitchen_counter/conversion/translation/external_conversion.py @@ -281,8 +281,9 @@ class Conversion: dataframe = df self.list_of_lists = dataframe.values.tolist() - falser = False + elif self.existing_script: + falser = False 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