Fix model_path

Apparently @model_path is not correct.
This commit is contained in:
Eryn Wells 2015-05-17 19:07:18 -07:00
parent 9e9f9f1072
commit 1af45f8dbc

View file

@ -138,7 +138,7 @@ class ERWEbooksBot < Ebooks::Bot
archive_path = "model/#{original}.json"
log "Archiving tweets #{archive_path}"
Ebooks::Archive.new(@original, archive_path).sync
Ebooks::Model.consume(archive_path).save(@model_path)
Ebooks::Model.consume(archive_path).save(model_path)
end
end