From adef5cb1f235fc03be06df73c82bd637d3dd33c9 Mon Sep 17 00:00:00 2001 From: Oliver Sherouse Date: Wed, 31 Jan 2018 14:52:18 -0500 Subject: [PATCH] hotfix to add timestamp as corpus identifier --- quantgov/__init__.py | 2 +- quantgov/corpora/utils.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/quantgov/__init__.py b/quantgov/__init__.py index ce281fe..b5a85ca 100644 --- a/quantgov/__init__.py +++ b/quantgov/__init__.py @@ -10,4 +10,4 @@ from .corpora.utils import load_driver -__version__ = '0.3.2' +__version__ = '0.3.3' diff --git a/quantgov/corpora/utils.py b/quantgov/corpora/utils.py index 136929f..1bdd29f 100644 --- a/quantgov/corpora/utils.py +++ b/quantgov/corpora/utils.py @@ -8,7 +8,7 @@ def load_driver(corpus): corpus = Path(corpus) - if corpus.name == 'driver.py': + if corpus.name == 'driver.py' or corpus.name == 'timestamp': corpus = corpus.parent sys.path.insert(0, str(corpus)) from driver import driver