X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=dakweb%2Fdakwebserver.py;h=24c729cc6f7a0d33b489f9fa9b98d5f46f9239b2;hb=aed7e4798d61c491c709f079645b1ad22957cdbd;hp=9435e8ac263ed7515366317c61b9dcc0ceedc4a2;hpb=a1cbf44860dcdae29b92a827e43f14d5ee5bd1e6;p=dak.git diff --git a/dakweb/dakwebserver.py b/dakweb/dakwebserver.py index 9435e8ac..24c729cc 100755 --- a/dakweb/dakwebserver.py +++ b/dakweb/dakwebserver.py @@ -32,10 +32,13 @@ def path_help(path=None): QueryRegister().register_path('/path_help', list_paths) # Import our other methods +from queries.archive import * from queries.source import * +from queries.suite import * # Set up our initial database connection d = DBConn() -# Run the bottle -bottle.run() +# Run the bottle if we're called directly +if __name__ == '__main__': + bottle.run()