Actually print show's name

This commit is contained in:
zvon 2018-10-02 00:01:30 +02:00
parent 1afc0fe1f3
commit 8009c3fcb6

View File

@ -95,7 +95,7 @@ int main(int argc, char** argv) {
path = fs::absolute(path);
if( show.empty() ) {
show = std::regex_replace(path, std::regex(".*/"), "");
show = std::regex_replace(fs::canonical(path).c_str(), std::regex(".*/"), "");
std::cout << "Is this the right show name? " << show << std::endl;
std::string response;
std::cin >> response;