Fix model_path
Apparently @model_path is not correct.
This commit is contained in:
parent
9e9f9f1072
commit
1af45f8dbc
1 changed files with 1 additions and 1 deletions
2
bots.rb
2
bots.rb
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue