diff --git a/minemeld/ft/cif.py b/minemeld/ft/cif.py index c1b4e87..f7e4ebc 100644 --- a/minemeld/ft/cif.py +++ b/minemeld/ft/cif.py @@ -136,7 +136,7 @@ def _build_iterator(self, now): ) if self.last_successful_run is None: filters['reporttime'] = '{0}Z'.format( - now.replace(days=-days).format('YYYY-MM-DDTHH:mm:ss') + now.shift(days=-days).format('YYYY-MM-DDTHH:mm:ss') ) else: filters['reporttime'] = '{0}Z'.format( diff --git a/minemeld/ft/csv.py b/minemeld/ft/csv.py index 3eaab7c..c8f68d1 100644 --- a/minemeld/ft/csv.py +++ b/minemeld/ft/csv.py @@ -26,6 +26,7 @@ import csv import requests import yaml +import shutil from urllib3.response import GzipDecoder from . import basepoller diff --git a/requirements.txt b/requirements.txt index 1648999..eaf5108 100644 --- a/requirements.txt +++ b/requirements.txt @@ -23,7 +23,7 @@ ujson==1.34 filelock==2.0.4 sleekxmpp==1.3.1 beautifulsoup4==4.4.1 -cifsdk==2.0.0b7 +cifsdk==2.0.14 lz4==0.8.2 networkx==1.11 unicodecsv==0.14.1