lib/morale/connection_store.rb in morale-client-1.0.0 vs lib/morale/connection_store.rb in morale-client-1.0.1
- old
+ new
@@ -39,10 +39,10 @@
@base_url = nil
end
def read_connection
connection = self.read
- connection.split("\n") if connection
+ connection.split("\n")[0] if connection
end
def write_connection
self.write self.base_url
end
\ No newline at end of file