significant refactor/cleanup
This commit is contained in:
@ -23,7 +23,7 @@ class RandMsg(FastAPI):
|
||||
Get a randomly generated message
|
||||
"""
|
||||
random.seed()
|
||||
short = data.short if data else False
|
||||
short: bool = data.short if data else False
|
||||
if not short:
|
||||
db_rand_selected = random.choice([0, 1, 3])
|
||||
else:
|
||||
|
Reference in New Issue
Block a user