From f2824539119c150127934f5ba39d1e38a6ecbab5 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Wed, 12 Jun 2024 08:40:45 +0000 Subject: [PATCH] existing script error resolved --- .../conversion/translation/external_conversion.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kitchen_counter/conversion/translation/external_conversion.py b/kitchen_counter/conversion/translation/external_conversion.py index ed52218..93d60a6 100644 --- a/kitchen_counter/conversion/translation/external_conversion.py +++ b/kitchen_counter/conversion/translation/external_conversion.py @@ -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: