Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

log time as well as date of submission

  • Loading branch information...
commit 4d1b8f294799216c41b8994a896a7789fc81551a 1 parent ade6503
@mapleoin authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  client/popcorn
View
3  client/popcorn
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.