Added reloading of post processor to pick up user changes in the script in case they edited it.
This commit is contained in:
@@ -95,7 +95,10 @@ class CommandPathPost:
|
||||
postArgs = postobj.PostProcessorArgs
|
||||
|
||||
postname += "_post"
|
||||
exec "import %s as current_post" % postname
|
||||
try:
|
||||
current_post
|
||||
except NameError:
|
||||
exec "import %s as current_post" % postname
|
||||
reload(current_post)
|
||||
current_post.export(obj, filename, postArgs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user