fix: use first arg
Some checks failed
black-action / runner / black formatter (push) Failing after -2s

This commit is contained in:
0xMRTT 2023-06-21 11:51:27 +02:00
parent 19865f0588
commit f0aa04c061
Signed by: 0xMRTT
GPG Key ID: 910B287304120902

View File

@ -159,7 +159,10 @@ def run():
try: try:
print(match.args()) print(match.args())
inspiration = match.args() try:
inspiration = match.args()[0]
except:
inspiration = "INSPIRATION_01"
async def generate_image(inspiration): async def generate_image(inspiration):
imagine = Imagine() imagine = Imagine()