From 84cb28c546f9ff6a867d01ad89b6b57070520d44 Mon Sep 17 00:00:00 2001 From: Feffernoose Date: Tue, 8 Oct 2013 12:50:46 -0400 Subject: Fixed typo with respect to reading delay time from config.yml --- ebooks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ebooks.cpp') 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) srand(time(NULL)); YAML::Node config = YAML::LoadFile("config.yml"); - int delay = config["corpus"].as(); + int delay = config["delay"].as(); ifstream infile(config["corpus"].as().c_str()); string corpus; -- cgit 1.4.1