Browse Source

Update sites before doing check.

pull/24/head
Ben Kurtovic 10 years ago
parent
commit
190356b444
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app.fcgi

+ 1
- 1
app.fcgi View File

@@ -79,8 +79,8 @@ def close_databases(error):
@app.route("/") @app.route("/")
@catch_errors @catch_errors
def index(): def index():
query = do_check()
update_sites() update_sites()
query = do_check()
return render_template("index.mako", query=query, result=query.result) return render_template("index.mako", query=query, result=query.result)


@app.route("/settings", methods=["GET", "POST"]) @app.route("/settings", methods=["GET", "POST"])


Loading…
Cancel
Save