Skip to content

Commit

Permalink
change exception type
Browse files Browse the repository at this point in the history
  • Loading branch information
YuningMiao committed Nov 8, 2019
1 parent 621df5a commit 4cc52fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/feeds/public/malwaremustdiecncs.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def update(self):
try:
if datetime.strptime(item["description"], "%d/%B/%Y") < since_last_run:
continue
except all:
except ValueError:
raise ValueError("couldn't parse date")
self.analyze(item["title"])

Expand Down

0 comments on commit 4cc52fc

Please sign in to comment.