Skip to content

Commit

Permalink
Fix drawceptio down detection
Browse files Browse the repository at this point in the history
  • Loading branch information
grompe committed Feb 3, 2016
1 parent b0806ea commit 0ad7bcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin_room_drawception.py
Expand Up @@ -208,7 +208,7 @@ def check_forum_mainpage():
html = gethtml(forum_url, True)
l = re.findall("forums/(\w+).+?last post (.+?)\)", html)
if not l:
if html.find("<h1>There appears to be an error with this site.</h1>") != -1:
if html.find("<title>Pagoda Box</title>") != -1:
site_is_down(True)
return
# Add to-be-watched threads to watched
Expand Down

0 comments on commit 0ad7bcc

Please sign in to comment.