aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Carlson <thecarlsondaddy@gmail.com>2016-10-06 08:17:21 -0400
committerAndy Carlson <thecarlsondaddy@gmail.com>2016-10-06 08:17:21 -0400
commitd8748ec7bed65379e5c9a058abf74343704b27d6 (patch)
tree3641bd0f5b54d8b931567e819097ecf01dbf0152
parentb9cee08ac940910b9f7de95a40d34bc53b573b09 (diff)
cleaned up code
-rw-r--r--ezdb.pycbin0 -> 8833 bytes
-rw-r--r--junos-quicklinks.py8
-rw-r--r--quicklinks.dbbin0 -> 3072 bytes
3 files changed, 0 insertions, 8 deletions
diff --git a/ezdb.pyc b/ezdb.pyc
new file mode 100644
index 0000000..de3c22e
--- /dev/null
+++ b/ezdb.pyc
Binary files differ
diff --git a/junos-quicklinks.py b/junos-quicklinks.py
index 3ba9ff7..fd037d2 100644
--- a/junos-quicklinks.py
+++ b/junos-quicklinks.py
@@ -40,19 +40,11 @@ app = Flask(__name__)
@app.route("/")
def GetRoot():
if not ExistsJunosFQDN(linkdb):
- # resp = make_response(render_template("fqdn.html"))
- # resp.headers.set("Cache-Control","no-cache, no-store, must-revalidate")
- # resp.headers.set("Pragma","no-cache")
- # return resp
return render_template("fqdn.html")
else:
linklist = GetQuickLinks(linkdb)
domainname = GetJunosFQDN(linkdb)
- # resp = make_response(render_template("root.html", domainname = domainname, linklist = linklist))
- # resp.headers.set("Cache-Control","no-cache, no-store, must-revalidate")
- # resp.headers.set("Pragma","no-cache")
- # return resp
return render_template("root.html", domainname = domainname, linklist = linklist)
@app.route("/moddomain/", methods = ["POST"])
diff --git a/quicklinks.db b/quicklinks.db
new file mode 100644
index 0000000..cf6a57f
--- /dev/null
+++ b/quicklinks.db
Binary files differ