X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dakweb%2Fdakwebserver.py;h=6102f84bd5d324657298cefe9cd9453c7a4a78cd;hb=c4a632e83afddddc51fe62927c343e9b54f6f69c;hp=181a2e7447af2b86cbcab76120ec8809501b5806;hpb=7db3402aa3615137ec7eb58bd3ba7ac662381d0f;p=dak.git diff --git a/dakweb/dakwebserver.py b/dakweb/dakwebserver.py index 181a2e74..6102f84b 100755 --- a/dakweb/dakwebserver.py +++ b/dakweb/dakwebserver.py @@ -32,10 +32,14 @@ def path_help(path=None): QueryRegister().register_path('/path_help', list_paths) # Import our other methods +from queries.archive import * +from queries.madison import * from queries.source import * +from queries.suite import * -print "Connecting" # Set up our initial database connection d = DBConn() -#bottle.run(host='localhost', port=8765) -bottle.run() + +# Run the bottle if we're called directly +if __name__ == '__main__': + bottle.run()