Skip to content

Commit

Permalink
fix "referenced before assignment" error
Browse files Browse the repository at this point in the history
  • Loading branch information
Crystalwarrior committed Oct 29, 2024
1 parent 33b09ee commit c29d0bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/evidence.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def create_evi_list(self, client):

def import_evidence(self, data):
for evi in data:
name, desc, image, pos, can_hide_in = "<name>", "<desc>", "", "all", False
name, desc, image, pos, can_hide_in, show_in_dark = "<name>", "<desc>", "", "all", False, False
if "name" in evi:
name = evi["name"]
if "desc" in evi:
Expand Down

0 comments on commit c29d0bf

Please sign in to comment.