Skip to content

Commit e960e9b

Browse files
committed
Run the website in python2.7 mode
1 parent 1910ea1 commit e960e9b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

website/app.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
application: python-tornado
22
version: 2
3-
runtime: python
3+
runtime: python27
4+
threadsafe: yes
45
api_version: 1
56

67
handlers:
78
- url: /static/tornado-0.1.tar.gz
8-
script: website.py
9+
script: website.application
910

1011
- url: /static/tornado-0.2.tar.gz
11-
script: website.py
12+
script: website.application
1213

1314
- url: /static/
1415
static_dir: static
@@ -22,10 +23,10 @@ handlers:
2223
upload: static/favicon.ico
2324

2425
- url: /documentation/?
25-
script: website.py
26+
script: website.application
2627

2728
- url: /documentation
2829
static_dir: sphinx/build/html
2930

3031
- url: /.*
31-
script: website.py
32+
script: website.application

0 commit comments

Comments
 (0)