diff --git a/Pipe RGB to ImageMagick.py b/Pipe RGB to ImageMagick.py index 67a076f..9b1b024 100644 --- a/Pipe RGB to ImageMagick.py +++ b/Pipe RGB to ImageMagick.py @@ -243,7 +243,7 @@ def __del__(self): if output_path: dirname, basename = os.path.split(output_path) elif self.version > '2.3.1': - dirname, basename = os.path.split(avsp.GetScriptoutput_path(propose='general')) + dirname, basename = os.path.split(avsp.GetScriptFilename(propose='general')) else: dirname, basename = (self.options['recentdir'], self.scriptNotebook.GetPageText( self.scriptNotebook.GetSelection()).lstrip('* '))