Permalink
Browse files

making the program work

changing the Pivotal API endpoint used
linking to a Bootstrap that exists
  • Loading branch information...
1 parent 5991c0e commit f89965d8b6ce8a5d0ec321d6a325aa07511d6623 Andrew Erickson committed Sep 11, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 pytracker.py
  2. +1 −1 widget.html
View
4 pytracker.py
@@ -29,7 +29,7 @@
import xml.parsers.expat
import xml.sax.saxutils
-DEFAULT_BASE_API_URL = 'https://www.pivotaltracker.com/services/v2/'
+DEFAULT_BASE_API_URL = 'https://www.pivotaltracker.com/services/v3/'
# Some fields specify UTC, some GMT?
_TRACKER_DATETIME_RE = re.compile(r'^\d{4}/\d{2}/\d{2} .*(GMT|UTC)$')
@@ -230,7 +230,7 @@ class HostedTrackerAuth(TrackerAuth):
def EstablishAuthToken(self, opener):
"""Returns the first auth token returned by /services/tokens/active."""
- url = 'https://www.pivotaltracker.com/services/tokens/active'
+ url = 'https://www.pivotaltracker.com/services/v3/tokens/active'
data = urllib.urlencode((('username', self.username),
('password', self.password)))
try:
View
2 widget.html
@@ -1,6 +1,6 @@
<html>
<head>
- <link rel="stylesheet" type="text/css" href="{{css|default:"https://raw.github.com/twitter/bootstrap/master/bootstrap-1.2.0.min.css"}}" />
+ <link rel="stylesheet" type="text/css" href="{{css|default:"//netdna.bootstrapcdn.com/twitter-bootstrap/2.1.1/css/bootstrap-combined.min.css"}}" />
</head>
<body>
<table class="zebra-striped" width="100%">

0 comments on commit f89965d

Please sign in to comment.