aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpasteme.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pasteme.py b/pasteme.py
index 75064a8..93e569b 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(linenos="table")
@@ -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