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)