From 9e15ee4f61e11eacfbd9c1de9557fb4b769932fd Mon Sep 17 00:00:00 2001 From: Eric Budd Date: Tue, 6 Feb 2018 22:30:46 -0500 Subject: [PATCH] Fix funky bug where extra output was coming through on topic display --- iris.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/iris.rb b/iris.rb index ebaf03b..17ace7b 100755 --- a/iris.rb +++ b/iris.rb @@ -243,8 +243,8 @@ class IrisFile File.write(Config::MESSAGE_FILE, corpus) end - def self.write_read_file(read_hashes) - File.write(Config::READ_FILE, read_hashes) + def self.write_read_file(new_read_hashes) + File.write(Config::READ_FILE, new_read_hashes) end end @@ -521,6 +521,8 @@ class Interface else puts 'Could not find a topic with that ID' end + + nil end def quit