Skip to content

Commit

Permalink
Fix URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandog committed Mar 17, 2016
1 parent 7c38d96 commit 5a8dda6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions sickbeard/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@
GIT_PATH = None
DEVELOPER = False

NEWS_URL = 'https://api.pymedusa.com/news.md'
LOGO_URL = 'https://api.pymedusa.com/favicon-64.png'
NEWS_URL = 'https://cdn.pymedusa.com/sickrage-news/news.md'
LOGO_URL = 'https://cdn.pymedusa.com/images/ico/favicon-64.png'

NEWS_LAST_READ = None
NEWS_LATEST = None
Expand Down
4 changes: 2 additions & 2 deletions sickbeard/webserve.py
Original file line number Diff line number Diff line change
Expand Up @@ -2257,10 +2257,10 @@ def __init__(self, *args, **kwargs):

def index(self):
try:
changes = helpers.getURL('https://api.pymedusa.com/changelog.md', session=helpers.make_session(), returns='text')
changes = helpers.getURL('https://cdn.pymedusa.com/sickrage-news/CHANGES.md', session=helpers.make_session(), returns='text')
except Exception:
logger.log(u'Could not load changes from repo, giving a link!', logger.DEBUG)
changes = 'Could not load changes from the repo. [Click here for CHANGES.md](https://api.pymedusa.com/CHANGES.md)'
changes = 'Could not load changes from the repo. [Click here for CHANGES.md](https://cdn.pymedusa.com/sickrage-news/CHANGES.md)'

t = PageTemplate(rh=self, filename="markdown.mako")
data = markdown2.markdown(changes if changes else "The was a problem connecting to github, please refresh and try again", extras=['header-ids'])
Expand Down

0 comments on commit 5a8dda6

Please sign in to comment.