From 65009f41d944b9626b502dd117398001b83c5799 Mon Sep 17 00:00:00 2001 From: Dustyn Gibson <miigotu@gmail.com> Date: Wed, 18 Nov 2015 14:37:45 -0800 Subject: [PATCH] Likely fixes https://github.com/SickRage/sickrage-issues/issues/9 --- sickbeard/__init__.py | 2 +- sickbeard/network_timezones.py | 2 +- sickbeard/webserve.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sickbeard/__init__.py b/sickbeard/__init__.py index a58eb83eb..68a714dfd 100644 --- a/sickbeard/__init__.py +++ b/sickbeard/__init__.py @@ -136,7 +136,7 @@ GIT_AUTOISSUES = False GIT_NEWVER = False DEVELOPER = False -NEWS_URL = 'http://SickRage.github.io/sickrage-news/news.md' +NEWS_URL = 'http://sickrage.github.io/sickrage-news/news.md' NEWS_LAST_READ = None NEWS_LATEST = None NEWS_UNREAD = 0 diff --git a/sickbeard/network_timezones.py b/sickbeard/network_timezones.py index 78a927869..82f91f3fc 100644 --- a/sickbeard/network_timezones.py +++ b/sickbeard/network_timezones.py @@ -38,7 +38,7 @@ sb_timezone = tz.tzwinlocal() if tz.tzwinlocal else tz.tzlocal() def update_network_dict(): """Update timezone information from SR repositories""" - url = 'http://SickRage.github.io/sb_network_timezones/network_timezones.txt' + url = 'http://sickrage.github.io/sb_network_timezones/network_timezones.txt' url_data = helpers.getURL(url, session=requests.Session()) if not url_data: logger.log(u'Updating network timezones failed, this can happen from time to time. URL: %s' % url, logger.WARNING) diff --git a/sickbeard/webserve.py b/sickbeard/webserve.py index 1d566da15..981e2f3b3 100644 --- a/sickbeard/webserve.py +++ b/sickbeard/webserve.py @@ -2161,10 +2161,10 @@ class HomeChangeLog(Home): def index(self): try: - changes = helpers.getURL('http://SickRage.github.io/sickrage-news/CHANGES.md', session=requests.Session()) + changes = helpers.getURL('http://sickrage.github.io/sickrage-news/CHANGES.md', session=requests.Session()) 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](http://SickRage.github.io/sickrage-news/CHANGES.md)' + changes = 'Could not load changes from the repo. [Click here for CHANGES.md](http://sickrage.github.io/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']) -- GitLab