summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
853db2b)
Signed-off-by: Mark Hymers <mhy@debian.org>
--- /dev/null
+import sys
+import os
+
+sys.path.append('/srv/ftp-master.debian.org/dak')
+
+import bottle
+
+import dakweb.dakwebserver
+
+application = bottle.default_app()
+
# Set up our initial database connection
d = DBConn()
# 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()