Skip to content

Commit

Permalink
Update puppet_script.py
Browse files Browse the repository at this point in the history
  • Loading branch information
benvigano authored Apr 15, 2021
1 parent d1312d3 commit c07da2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scriptifier/puppet_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c07da2a

Please sign in to comment.