diff --git a/db_explorer/db_explorer/app.py b/db_explorer/db_explorer/app.py index 9bf181c..283c3ed 100644 --- a/db_explorer/db_explorer/app.py +++ b/db_explorer/db_explorer/app.py @@ -74,6 +74,7 @@ def show_action(name): item["_all_traits"].append(_traits.get("rarity", {}).get("value", "unkown rarity")) item["_all_traits"] += _traits.get("value", []) item["_all_traits"] += _traits.get("custom").split(',') + item["_all_traits"] = list(filter(lambda x: x != '', item["_all_traits"])) return render_template("action.html", action=item) if __name__ == "__main__":