mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-24 12:12:36 -06:00
10 lines
No EOL
264 B
Python
10 lines
No EOL
264 B
Python
categories = ['foul-language', 'greening', 'rude-behavior', 'bad-name', 'hacking']
|
|
|
|
def isValidCategory(value):
|
|
return value < len(categories)
|
|
|
|
def isValidCategoryName(value):
|
|
return value in categories
|
|
|
|
def getCategory(value):
|
|
return categories[value] |