[fix] README should not be included in building address dictionaries

This commit is contained in:
Al
2016-03-09 11:18:19 -05:00
parent 019b9e268e
commit 1003832b9c

View File

@@ -109,6 +109,8 @@ def create_address_expansion_rules_file(base_dir=ADDRESS_EXPANSIONS_DIR, output_
max_dictionary_types = 0
for language in os.listdir(base_dir):
if not os.path.isdir(language):
continue
language_dir = os.path.join(base_dir, language)
num_language_rules = 0