Skip to content
This repository has been archived by the owner on Apr 12, 2018. It is now read-only.

Commit

Permalink
fix path for logs
Browse files Browse the repository at this point in the history
  • Loading branch information
jrconlin committed Feb 1, 2013
1 parent 85ddc95 commit 4f9bc64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion log_scrape.py
Expand Up @@ -19,7 +19,7 @@
config = Configurator(root_factory=Root, settings=filtered_settings)
counter = Counter(config)
yesterday = date.fromtimestamp(time.time() - 86400).isoformat()
files = sys.argv[1:] or ['campaign.log.' + yesterday]
files = sys.argv[1:] or ['logs/campaign.log.' + yesterday]
for file in files:
counter.parse(file)

0 comments on commit 4f9bc64

Please sign in to comment.