From 5a4baf832bc0108ba32f48ae88cb510ea37d1069 Mon Sep 17 00:00:00 2001 From: Fisch Date: Tue, 3 Dec 2024 17:24:38 +0100 Subject: [PATCH] add var to variable decleration --- imagegenerator/generate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imagegenerator/generate.py b/imagegenerator/generate.py index 5933805..11c6a05 100644 --- a/imagegenerator/generate.py +++ b/imagegenerator/generate.py @@ -30,7 +30,7 @@ print(im.size) # Get the width and hight of the image for iterating over variablename="msg.payload" if (args.variablename): - variablename=outputfilename.split('.')[0] + variablename="var "+outputfilename.split('.')[0] print("Using variablename="+str(variablename)) output_pre=""