summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-09-24 05:25:52 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-09-24 05:25:52 -0400
commitc5d519447e913fe2320f39d8a57e320c3c0b6e41 (patch)
tree14b794692ad510539c4bea4a1d89730b5fb50490 /main.py
parent3038b7cee82bd7db5f19827a7db12aa7524438f3 (diff)
downloadfork-ledger-c5d519447e913fe2320f39d8a57e320c3c0b6e41.tar.gz
fork-ledger-c5d519447e913fe2320f39d8a57e320c3c0b6e41.tar.bz2
fork-ledger-c5d519447e913fe2320f39d8a57e320c3c0b6e41.zip
fixed a rather obscure memory bug, which also simplified some code
Diffstat (limited to 'main.py')
-rwxr-xr-xmain.py5
1 files changed, 3 insertions, 2 deletions
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)