Fix missing version string when Popen communicate returns byte strings.
[libdcp.git] / src / name_format.cc
index a85f232d17ccc9c2f6fc9975a730de9a6226573b..7b9cfd634760b1b57d6dd399729da6cdb2b9d150 100644 (file)
@@ -65,7 +65,7 @@ filter (string c)
 }
 
 string
-NameFormat::get (Map values) const
+NameFormat::get (Map values, string suffix) const
 {
        string result;
        for (size_t i = 0; i < _specification.length(); ++i) {
@@ -84,7 +84,7 @@ NameFormat::get (Map values) const
                }
        }
 
-       return result;
+       return result + suffix;
 }
 
 bool