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

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
1 changed files with 4 additions and 1 deletions

View File

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