From c07da2ad128d5c4b99c961cbd38fa605f3f9c6f5 Mon Sep 17 00:00:00 2001 From: ben981 <69852812+ben981@users.noreply.github.com> Date: Thu, 15 Apr 2021 21:12:56 +0200 Subject: [PATCH] Update puppet_script.py --- scriptifier/puppet_script.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scriptifier/puppet_script.py b/scriptifier/puppet_script.py index 13b3b3e..f358e76 100644 --- a/scriptifier/puppet_script.py +++ b/scriptifier/puppet_script.py @@ -44,8 +44,8 @@ def returns_saver(returns, current_call_directory): os.remove(os.path.join(current_call_directory, "INPUT.pickle")) # Import the namespace of the function's original module, then delete the temporary file - import temporary_module - from temporary_module import * +import temporary_module +from temporary_module import * # Call the function and save the returns func = getattr(temporary_module, function_name)