fix version in config.py

This commit is contained in:
Rob Speer 2015-05-26 18:08:46 -04:00
parent ffd352f148
commit 3d5b3d47e8

View File

@ -1,7 +1,7 @@
import os import os
CONFIG = { CONFIG = {
'version': '0.9.0', 'version': '1.0b',
# data_dir is a relative or absolute path to where the wordlist data # data_dir is a relative or absolute path to where the wordlist data
# is stored # is stored
'data_dir': 'data', 'data_dir': 'data',
@ -71,6 +71,4 @@ def all_languages():
for langlist in CONFIG['sources'].values(): for langlist in CONFIG['sources'].values():
languages |= set(langlist) languages |= set(langlist)
return [lang for lang in sorted(languages) return [lang for lang in sorted(languages)
if len(source_names(lang)) if len(source_names(lang)) >= CONFIG['min_sources']]
>= CONFIG['min_sources']]