|
@@ -105,6 +105,11 @@ def display_message(area, msgno):
|
|
|
|
|
|
message = jammin.read_message(bases[area], msgno)
|
|
|
|
|
|
+ if not message:
|
|
|
+ return render_template(
|
|
|
+ "missing-message.html", base_path=base_path, area=area, title="Missing Message"
|
|
|
+ )
|
|
|
+
|
|
|
if "text" in message:
|
|
|
if "\x1b" in message["text"]:
|
|
|
# Ok, the message contains ANSI CODES -- Convert
|