display bug when used as func

This commit is contained in:
David PAGNON 2022-10-14 22:24:58 +02:00 committed by GitHub
parent 9e320851c8
commit 8c9b9338e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,8 +92,10 @@ def json_display_without_img_func(**args):
output_img_folder = os.path.join(json_folder+'_img')
else:
output_img_folder = os.path.realpath(output_img_folder)
save = args.get('save')
display = args.get('display')
if display==None:
display = True
save = args.get('save')
# Save
if save == True or save == 'True':