Skip to content
Browse files

fix sshbl

  • Loading branch information...
1 parent 56b6137 commit 9ca167f84e225f6431ce04721691e8242ccfe52d @Rafiot Rafiot committed Sep 20, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/modules/sshbl_base.py
View
3 lib/modules/sshbl_base.py
@@ -28,10 +28,9 @@ def parse(self):
if line[0] != '#':
splitted = line.split()
ip = splitted[0]
- date = datetime.datetime.utcfromtimestamp(int(splitted[1]))
if len(ip) == 0:
continue
- entry = self.prepare_entry(ip = ip, source = self.__class__.__name__, timestamp = date)
+ entry = self.prepare_entry(ip = ip, source = self.__class__.__name__, timestamp = self.date)
self.put_entry(entry)
daily.close()
self.move_file(file)

0 comments on commit 9ca167f

Please sign in to comment.
Something went wrong with that request. Please try again.