From 118e4df1cce9cbd96977b6d4c3b35d35c6ab398e Mon Sep 17 00:00:00 2001 From: Burathar Date: Sun, 26 Sep 2021 22:06:55 +0200 Subject: [PATCH] Fix passed list --- biscd/biscd/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/biscd/biscd/utils.py b/biscd/biscd/utils.py index 35f1e63..6cbb945 100644 --- a/biscd/biscd/utils.py +++ b/biscd/biscd/utils.py @@ -12,8 +12,8 @@ def get_remote_addr(): def flash_result(*result): if result[0] is not None: - if isinstance(result, list): - flash(*result) + if isinstance(result[0], list): + flash(*result[0]) else: flash(result)