Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
danozgriff committed Feb 27, 2016
1 parent e744aa3 commit a5a08fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
datetime.date.today()
d1date=ndate - datetime.timedelta(days=10)
print d1date
print ""select `TIDM`, strftime('%m',Date,'unixepoch') from Signal_History where tidm = '" + tidm + "' and Date < '%s-%s-%s'" % (str(d1date.year), str(d1date.month), str(d1date.day))
print "select `TIDM`, strftime('%m',Date,'unixepoch') from Signal_History where tidm = '" + tidm + "' and Date < '%s-%s-%s'" % (d1date.year, d1date.month, d1date.day)
#ndate=datetime.date.today()
#print ndate.year
#strftime('%Y', ndate)
Expand Down

0 comments on commit a5a08fd

Please sign in to comment.