From 1249804f7c89a232b6f6d65b3032b0c2d85973c9 Mon Sep 17 00:00:00 2001 From: Paul Walko Date: Fri, 17 Feb 2017 19:52:47 +0000 Subject: [PATCH] Change etymology/definition syntax for parsing json --- modules/wiktionary.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/wiktionary.py b/modules/wiktionary.py index f85a109..8b9d82c 100644 --- a/modules/wiktionary.py +++ b/modules/wiktionary.py @@ -64,8 +64,6 @@ def wiktionary(word): mode = 'particle' elif '==Preposition==' in line: mode = 'preposition' -# elif len(line) == 0: -# mode = None elif mode == 'etymology': etymology = text(line)