From 147545e2f8e3788b6a4a8c9377be9482f2185212 Mon Sep 17 00:00:00 2001 From: Lucien Greathouse Date: Mon, 1 Apr 2019 17:49:11 -0700 Subject: [PATCH] Fix #147 --- server/src/rbx_snapshot.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/server/src/rbx_snapshot.rs b/server/src/rbx_snapshot.rs index 9f9be279..44509fff 100644 --- a/server/src/rbx_snapshot.rs +++ b/server/src/rbx_snapshot.rs @@ -483,6 +483,7 @@ fn snapshot_csv_file<'source>( .deserialize() // TODO: Propagate error upward instead of panicking .map(|result| result.expect("Malformed localization table found!")) + .filter(|entry: &LocalizationEntryCsv| !(entry.key.is_empty() && entry.source.is_empty())) .map(LocalizationEntryCsv::to_json) .collect();