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(): @@ -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)

Loading…
Cancel
Save