Skip to content

Commit

Permalink
Removed legacy code to avoid errors w/ negative scores in filename IOCs
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Roth committed Feb 19, 2018
1 parent 7c8b583 commit 45b5edd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions loki.py
Original file line number Diff line number Diff line change
Expand Up @@ -981,11 +981,6 @@ def initialize_filename_iocs(self, ioc_directory):
regex_fp = row[2]
desc = last_comment

# Catch legacy lines
if not score.isdigit():
desc = score # score is description (old format)
score = 60 # default value

# Elements without description
else:
regex = line
Expand Down

0 comments on commit 45b5edd

Please sign in to comment.