Permalink
Browse files

log time as well as date of submission

  • Loading branch information...
1 parent ade6503 commit 4d1b8f294799216c41b8994a896a7789fc81551a @mapleoin committed Sep 21, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 client/popcorn
View
@@ -40,7 +40,6 @@ import ConfigParser
import datetime
VERSION = '0.1'
-TODAY = datetime.date.today()
days_recent = 30
days_voted = 30
@@ -157,7 +156,7 @@ class Client:
f.write(self.data)
url = config.get('settings', 'post_server') + config.get(
'settings', 'post_uri')
- params = {'url': url, 'date': TODAY.isoformat()}
+ params = {'url': url, 'date': datetime.datetime.now()}
f.write('\nPopcorn submitting data to %(url)s at %(date)s \n\n'
% params)

0 comments on commit 4d1b8f2

Please sign in to comment.