diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-06-08 04:49:37 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-06-08 04:59:14 +0100 |
commit | abd360d9fd6dc1a77cd38c213bc9532d85973ca0 (patch) | |
tree | e873599c621e31829fd942982dfda2780258a9a7 /CAO_Cards.py | |
parent | 9d7f0754ff9db1645635647f4acd63aa38c173c5 (diff) |
the server now handles the language properly
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'CAO_Cards.py')
-rw-r--r-- | CAO_Cards.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CAO_Cards.py b/CAO_Cards.py index 537abe7..1feecef 100644 --- a/CAO_Cards.py +++ b/CAO_Cards.py @@ -1,12 +1,12 @@ class CAO_Cards(): @staticmethod - def get_white_cards(lang='en'): + def get_white_cards(lang): ''' Read the file containing the white cards and return a list of cards ''' with open('lang/' + lang + '/cards/white') as fd: return [line.strip() for line in fd] @staticmethod - def get_black_cards(lang='en'): + def get_black_cards(lang): ''' Read the file containing the black cards and return a list of cards ''' with open('lang/' + lang + '/cards/black') as fd: |