Commits

David Chambers committed a27dc95

Fixed call to `get_thread_by_url`.

  • Participants
  • Parent commits d0898b8

Comments (0)

Files changed (1)

 				dsq = disqus.DisqusService()
 				dsq.login(DISQUS['api_key'])
 				forum = get_forum(dsq.get_forum_list())
-				thread = dsq.get_thread_by_url(forum, '%s/%s/' % (BASE_URL.rstrip('/'), canon_url))
+				thread = dsq.get_thread_by_url(forum, BASE_URL.rstrip('/') + canon_url)
 				if not thread:
 					thread = dsq.thread_by_identifier(forum, context['meta']['title'], canon_url)['thread']
 				# don't trust the documentation!