Actually print show's name
This commit is contained in:
parent
1afc0fe1f3
commit
8009c3fcb6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user