Skip to content

Commit 253555c

Browse files
2014 to 2015
1 parent 2a06cb3 commit 253555c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pycon_bot/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,11 @@ def agenda_format(self):
119119

120120
@property
121121
def public_url(self):
122-
return 'https://us.pycon.org/2014/schedule/presentation/%d/' % self.id
122+
return 'https://us.pycon.org/2015/schedule/presentation/%d/' % self.id
123123

124124
@property
125125
def review_url(self):
126-
return 'http://us.pycon.org/2014/reviews/review/%d/' % self.id
126+
return 'http://us.pycon.org/2015/reviews/review/%d/' % self.id
127127

128128
@property
129129
def template_context(self):

pycon_bot/utils/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def request(self, method, endpoint, body='', **kwargs):
3232
protocol = 'http'
3333

3434
# Construct the base URI.
35-
uri = '/2014/pycon_api/%s/' % endpoint
35+
uri = '/2015/pycon_api/%s/' % endpoint.strip('/')
3636

3737
# If keyword arguments are provided, append them to
3838
# the URI.

0 commit comments

Comments
 (0)