From c5d519447e913fe2320f39d8a57e320c3c0b6e41 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 24 Sep 2004 05:25:52 -0400 Subject: fixed a rather obscure memory bug, which also simplified some code --- main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'main.py') diff --git a/main.py b/main.py index 8cbfcff9..0b400f14 100755 --- a/main.py +++ b/main.py @@ -87,10 +87,11 @@ else: text_parser = TextualParser () bin_parser = BinaryParser () qif_parser = QifParser () +gnucash_parser = None try: - gnucush_parser = GnucashParser () + gnucash_parser = GnucashParser () except: - gnucush_parser = None + pass register_parser (text_parser) register_parser (bin_parser) -- cgit v1.2.3