aboutsummaryrefslogtreecommitdiffstats
path: root/pasteme.py
diff options
context:
space:
mode:
Diffstat (limited to 'pasteme.py')
-rwxr-xr-xpasteme.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pasteme.py b/pasteme.py
index b5cd308..03cdc23 100755
--- a/pasteme.py
+++ b/pasteme.py
@@ -8,6 +8,7 @@ import identigen
import config
from pathlib import Path
+application = bottle.default_app() # application used for wsgi mode
pathbase = Path(config.pastedir)
pygment_formater = pygments.formatters.HtmlFormatter()
@@ -69,4 +70,3 @@ if __name__ == '__main__':
bottle.run(host='0.0.0.0', port=8080, debug=True, reloader=True)
else:
print('I: Starting application as a wsgi application')
- application = bottle.default_app() # application used for wsgi mode