Permalink
Browse files

fix autoshun module

  • Loading branch information...
1 parent accba0b commit 6972abd8f50b25d9313f2326a16408987d451277 @Rafiot committed Sep 20, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/modules/autoshun.py
View
@@ -10,6 +10,7 @@
import re
import os
+import datetime
import dateutil.parser
import csv
from modules.abstract_module import AbstractModule
@@ -22,6 +23,7 @@ def __init__(self, raw_dir):
self.directory = raw_dir
def parse(self):
+ self.date = datetime.date.today()
self.ips = []
for file in self.files:
with open(file, 'r') as csvfile:

0 comments on commit 6972abd

Please sign in to comment.