Browse Source

Fix passed list

master
Burathar 3 years ago
parent
commit
118e4df1cc
  1. 4
      biscd/biscd/utils.py

4
biscd/biscd/utils.py

@ -12,8 +12,8 @@ def get_remote_addr():
def flash_result(*result): def flash_result(*result):
if result[0] is not None: if result[0] is not None:
if isinstance(result, list): if isinstance(result[0], list):
flash(*result) flash(*result[0])
else: else:
flash(result) flash(result)

Loading…
Cancel
Save