diff --git a/diceware/wordlist.py b/diceware/wordlist.py
index 4347c33ab65f88916f060c60a4f977d92f9934e9..920de1db7c45408fa866e4bdd4e96ba038719c2a 100644
--- a/diceware/wordlist.py
+++ b/diceware/wordlist.py
@@ -100,7 +100,9 @@ def get_signed_wordlist(file_descriptor):
             break
         if line.startswith('- '):
             line = line[2:]
-        result += [line.strip(), ]
+        if not line:
+            continue
+        result += [line, ]
     file_descriptor.close()
     return result