Skip to content

Commit

Permalink
hotfix to add timestamp as corpus identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverSherouse committed Jan 31, 2018
1 parent bcfaac6 commit adef5cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion quantgov/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@

from .corpora.utils import load_driver

__version__ = '0.3.2'
__version__ = '0.3.3'
2 changes: 1 addition & 1 deletion quantgov/corpora/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit adef5cb

Please sign in to comment.