Fix another hardcoded "tar.xz" -> ARDOUR::session_archive_suffix
This commit is contained in:
parent
b73eac450a
commit
5dd9acf9ab
@ -196,7 +196,7 @@ find_session (string str, string& path, string& snapshot, bool& isnew)
|
|||||||
int
|
int
|
||||||
inflate_session (const std::string& zipfile, const std::string& target_dir, string& path, string& snapshot)
|
inflate_session (const std::string& zipfile, const std::string& target_dir, string& path, string& snapshot)
|
||||||
{
|
{
|
||||||
if (zipfile.find (".tar.xz") == string::npos) {
|
if (zipfile.find (session_archive_suffix) == string::npos) {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user