about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorFeffernoose <fefferburbia@gmail.com>2013-10-08 12:50:46 -0400
committerFeffernoose <fefferburbia@gmail.com>2013-10-08 12:50:46 -0400
commit84cb28c546f9ff6a867d01ad89b6b57070520d44 (patch)
tree2d358b94d94df5b6329fda74ab7509917aa516bc
parente802d9978aa6302e229357d5fc692726994569e5 (diff)
downloadrawr-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.cpp2
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;