diff options
author | Olivier Gayot <olivier.gayot@sigexec.com> | 2018-03-09 13:38:22 +0100 |
---|---|---|
committer | Olivier Gayot <olivier.gayot@sigexec.com> | 2018-03-09 13:38:22 +0100 |
commit | 493b116f73ec3912ca7af3d6ece3434279cbcfb5 (patch) | |
tree | b6955491311fb0d810e9de9a7dd9b8059d04a10c /CAO/Cards.py | |
parent | 735bc5af0929392f27386aa3fa0c26d39f300672 (diff) |
renamed the project SwiftStory
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'CAO/Cards.py')
-rw-r--r-- | CAO/Cards.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/CAO/Cards.py b/CAO/Cards.py deleted file mode 100644 index 01909fb..0000000 --- a/CAO/Cards.py +++ /dev/null @@ -1,13 +0,0 @@ -class Cards(): - @staticmethod - def get_white_cards(lang): - ''' Read the file containing the white cards and return a list of cards ''' - with open('usr/share/cao/lang/' + lang + '/cards/white') as fd: - return [line.strip() for line in fd] - - @staticmethod - def get_black_cards(lang): - ''' Read the file containing the black cards and return a list of cards ''' - - with open('usr/share/cao/lang/' + lang + '/cards/black') as fd: - return [line.strip() for line in fd] |