Skip to content
This repository has been archived by the owner on Oct 5, 2019. It is now read-only.

Commit

Permalink
MLN added some fields in the display. Adjusted to compensate.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://snoopy.treese.org/home/svn/booksdue@1169 81348db3-0009-0410-81ca-98fc2baa63aa
  • Loading branch information
treese committed Oct 14, 2008
1 parent b39f7de commit 7340a69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions booksdue
Expand Up @@ -6,7 +6,7 @@
# Win Treese
# treese@acm.org
#
# Last modified on Mon Sep 22 10:57:36 EDT 2008 by treese
# Last modified on Mon Oct 13 22:15:26 EDT 2008 by treese

from mechanize import Browser
from HTMLParser import HTMLParser
Expand Down Expand Up @@ -96,7 +96,7 @@ class MlnFetcher(object):
for book in parser.tabledata[1:]:
title = string.split(book[0], '/')[0].strip()
logging.debug("Book info: %s" % str(book))
xdate = book[4].split()[1].split('-')
xdate = book[8].split()[1].split('-')
year = xdate[2][0:2]
logging.debug("xdate %s year %s" % (xdate, year))
duedate = datetime.datetime(2000 + int(year), int(xdate[0]),
Expand Down

0 comments on commit 7340a69

Please sign in to comment.