add var to variable decleration

This commit is contained in:
interfisch 2024-12-03 17:24:38 +01:00
parent 190b67b17a
commit 5a4baf832b
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ print(im.size) # Get the width and hight of the image for iterating over
variablename="msg.payload" variablename="msg.payload"
if (args.variablename): if (args.variablename):
variablename=outputfilename.split('.')[0] variablename="var "+outputfilename.split('.')[0]
print("Using variablename="+str(variablename)) print("Using variablename="+str(variablename))
output_pre="" output_pre=""