From 9bcf056e34b8bf166735b3eccc59c6d589bc0fd4 Mon Sep 17 00:00:00 2001 From: Joel McCoy Date: Thu, 16 Apr 2015 17:54:03 -0400 Subject: [PATCH] Persist archive to_cloud after consuming initial corpus --- bots.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bots.rb b/bots.rb index cebee8f..8b23e5b 100644 --- a/bots.rb +++ b/bots.rb @@ -77,7 +77,7 @@ class BoodooBot @model = Boodoo.make_Model(username: original, path: model_path).from_json(archive_path, is_path: true) else log "Consuming initial corpus..." - archive_json = jsonify(initial_corpus_file, from_cloud: has_cloud?, new_name: original, to_cloud: false) + archive_json = jsonify(initial_corpus_file, from_cloud: has_cloud?, new_name: original, to_cloud: true) @archive = Boodoo.make_Archive(original, path: archive_path, client: twitter, local: true, content: archive_json.lines) @model = Boodoo.make_Model(username: original, path: model_path).from_json(archive_json, is_path: false) end