From 5aca1420348ebcd936b908341f9ddc6198ea5644 Mon Sep 17 00:00:00 2001 From: ebolam Date: Thu, 19 Jan 2023 15:55:10 -0500 Subject: [PATCH] Added blank image. Shows when action is selected and there is no action image for that action --- aiserver.py | 4 +++- static/blank.png | Bin 0 -> 148 bytes 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 static/blank.png diff --git a/aiserver.py b/aiserver.py index 2ec094ee..50952239 100644 --- a/aiserver.py +++ b/aiserver.py @@ -10320,7 +10320,9 @@ def UI_2_action_image(): filename, mimetype="image/jpeg") else: - return None + return send_file( + "static/blank.png", + mimetype="image/png") #==================================================================# # display messages if they have never been sent before on this install diff --git a/static/blank.png b/static/blank.png new file mode 100644 index 0000000000000000000000000000000000000000..994c3ba3244ffe4448c0b4bad32a7ce76eaa391f GIT binary patch literal 148 zcmeAS@N?(olHy`uVBq!ia0vp^OhC-Y!3HG1DAjiXDVAa<&kznEsNqQI0P;BtJR*yM z>aT+^qm#z$3ZS55iEBhjaDG}zd16s2LwR|*US?i)adKios$PCk`s{Z$Qb0w5o-U3d j95a*u{Qqyy3<3-yf0_OtyRdQ*P?EvZ)z4*}Q$iB}W=