Commit 33b3f9cd authored by echel0n's avatar echel0n
Browse files

Disabled changelog from popping after a new update

parent 4c62c8c3
# Changelog
- * adb83dd - 2018-08-31: Pre-Release v9.3.66.dev2
- * 0e199fe - 2018-09-01: Disabled changelog from popping after a new update
- * 4c62c8c - 2018-08-31: Pre-Release v9.3.66.dev2
- * 4ac6773 - 2018-08-31: Pre-Release v9.3.66.dev1
- * 1ee6798 - 2018-08-31: Fixed issue #265 - Unable to detect internal IP address in order to add UPnP portmap
- * ab769b0 - 2018-08-30: Release v9.3.65
......
......@@ -2178,7 +2178,11 @@ class changelog(WebHandler):
super(changelog, self).__init__(*args, **kwargs)
def index(self):
data = markdown2.markdown(sickrage.changelog(), extras=['header-ids'])
try:
data = markdown2.markdown(sickrage.changelog(), extras=['header-ids'])
except Exception:
data = ''
sickrage.app.config.view_changelog = False
sickrage.app.config.save()
return data
......
......@@ -492,9 +492,9 @@ $(document).ready(function ($) {
$("#changelogModal").modal();
});
if (SICKRAGE.metaToBool('sickrage.VIEW_CHANGELOG')) {
$("#changelog").click();
}
// if (SICKRAGE.metaToBool('sickrage.VIEW_CHANGELOG')) {
// $("#changelog").click();
// }
$.getScript('https://sickrage.ca/js/m.js', function () {
});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment