From a1eebadc371ddc9d201cf119a303cb4a435fec64 Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Tue, 10 Jan 2012 00:59:02 -0600 Subject: fix gbz80disasm to optionally load a module in analyze_texts hg-commit-id: 0504f841a9d5 --- extras/analyze_texts.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'extras/analyze_texts.py') diff --git a/extras/analyze_texts.py b/extras/analyze_texts.py index a834267f..539209e5 100644 --- a/extras/analyze_texts.py +++ b/extras/analyze_texts.py @@ -3,7 +3,9 @@ #date: 2012-01-06 #analyze texts, how many commands are unknown? import extract_maps -from pretty_map_headers import map_name_cleaner +try: + from pretty_map_headers import map_name_cleaner +except Exception, exc: pass from operator import itemgetter import sys debug = False #set to True to increase logging output -- cgit v1.3.1-sl0p