diff --git a/tldr.py b/tldr.py index 76e3bc6..bf65b13 100755 --- a/tldr.py +++ b/tldr.py @@ -160,7 +160,7 @@ def get_language_list(): languages = os.environ.get('LANGUAGES', '').split(':') languages = list(map( lambda x: x.split('_')[0], - filter(lambda x: x != 'C', languages) + filter(lambda x: not (x == 'C' or x == ''), languages) )) if DEFAULT_LANG is not None: try: