diff options
author | Feffernoose <fefferburbia@gmail.com> | 2013-10-08 12:50:46 -0400 |
---|---|---|
committer | Feffernoose <fefferburbia@gmail.com> | 2013-10-08 12:50:46 -0400 |
commit | 84cb28c546f9ff6a867d01ad89b6b57070520d44 (patch) | |
tree | 2d358b94d94df5b6329fda74ab7509917aa516bc | |
parent | e802d9978aa6302e229357d5fc692726994569e5 (diff) | |
download | rawr-ebooks-84cb28c546f9ff6a867d01ad89b6b57070520d44.tar.gz rawr-ebooks-84cb28c546f9ff6a867d01ad89b6b57070520d44.tar.bz2 rawr-ebooks-84cb28c546f9ff6a867d01ad89b6b57070520d44.zip |
Fixed typo with respect to reading delay time from config.yml
-rw-r--r-- | ebooks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ebooks.cpp b/ebooks.cpp index 2dbf5e4..a332351 100644 --- a/ebooks.cpp +++ b/ebooks.cpp | |||
@@ -19,7 +19,7 @@ int main(int argc, char** args) | |||
19 | srand(time(NULL)); | 19 | srand(time(NULL)); |
20 | 20 | ||
21 | YAML::Node config = YAML::LoadFile("config.yml"); | 21 | YAML::Node config = YAML::LoadFile("config.yml"); |
22 | int delay = config["corpus"].as<int>(); | 22 | int delay = config["delay"].as<int>(); |
23 | 23 | ||
24 | ifstream infile(config["corpus"].as<std::string>().c_str()); | 24 | ifstream infile(config["corpus"].as<std::string>().c_str()); |
25 | string corpus; | 25 | string corpus; |