commit 8b5dc3c6623271d27807a20d29b738f6790c346a
Author: Tommaso Cucinotta <[email protected]>
Date:   Sun Oct 23 21:35:56 2016 +0200

    Fix bug in replacement of "$$s/" in converter commands, introduced in 
8b66f9ce.
---
 src/graphics/GraphicsConverter.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/graphics/GraphicsConverter.cpp 
b/src/graphics/GraphicsConverter.cpp
index ebb074c..67b1580 100644
--- a/src/graphics/GraphicsConverter.cpp
+++ b/src/graphics/GraphicsConverter.cpp
@@ -229,7 +229,7 @@ static string const move_file(string const & from_file, 
string const & to_file)
 static void build_conversion_command(string const & command, ostream & script)
 {
        // Store in the python script
-       script << "\nif os.system(r'" << command << "') != 0:\n";
+       script << "\nif os.system(r'" << commandPrep(command) << "') != 0:\n";
 
        // Test that this was successful. If not, remove
        // ${outfile} and exit the python script

Reply via email to