Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions excalibur/www/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ def workspaces(file_id):
saved_rules = [
{"rule_id": rule.rule_id, "rule_name": rule.rule_name} for rule in rules
]
if not isinstance(imagepaths, dict):
imagepaths = {} # Provide an empty fallback dictionary
return render_template(
"workspace.html",
filename=file.filename,
Expand Down