From 44606875c950f358ca16e6eddc35298047c90517 Mon Sep 17 00:00:00 2001 From: Braydon Kains Date: Thu, 14 May 2020 22:44:27 -0400 Subject: [PATCH] It wasn't working right now it is --- operators/ltnp_operator.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/operators/ltnp_operator.cr b/operators/ltnp_operator.cr index de3d826..88cada8 100644 --- a/operators/ltnp_operator.cr +++ b/operators/ltnp_operator.cr @@ -3,7 +3,7 @@ require "../records/ltnp_record" class LtnpOperator def initialize(ltnp_data = "") - if ltnp_data.nil? + if ltnp_data.empty? ltnp_data = CommandRunner.run_ltnp end records = ltnp_data.each_line