mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2025-09-22 04:50:46 +02:00
Overhauled tagger.py
Added Ramp Reorganized a number of functions
This commit is contained in:
parent
a469d5be4a
commit
f0c00c4b2c
4 changed files with 2798 additions and 1364 deletions
0
logs/tagger.log
Normal file
0
logs/tagger.log
Normal file
2
setup.py
2
setup.py
|
@ -258,4 +258,4 @@ def setup():
|
|||
break
|
||||
|
||||
#setup()
|
||||
#regenerate_csv_by_color('colorless')
|
||||
#regenerate_csv_by_color('white')
|
|
@ -10,9 +10,7 @@ def pluralize(word):
|
|||
|
||||
def sort_list(list_to_sort):
|
||||
if isinstance(list_to_sort, list):
|
||||
print(list_to_sort)
|
||||
list_to_sort = sorted(list_to_sort)
|
||||
print(list_to_sort)
|
||||
return list_to_sort
|
||||
else:
|
||||
return list_to_sort
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue