diff options
author | Lawouach <sh@defuze.org> | 2015-03-12 18:39:49 +0100 |
---|---|---|
committer | Lawouach <sh@defuze.org> | 2015-03-12 18:39:49 +0100 |
commit | ac0ae213face99777dab9356bdff08820e462180 (patch) | |
tree | f2e38280d2cd7e6e42da3fb3f2443b689a4b7af5 | |
parent | 40cddcb0dcc6669bf7904160c1b495b369e82fff (diff) | |
download | cherrypy-ac0ae213face99777dab9356bdff08820e462180.tar.gz |
fixed #1361
-rw-r--r-- | docs/tutorials.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorials.rst b/docs/tutorials.rst index 03f61e1f..ddc2c47b 100644 --- a/docs/tutorials.rst +++ b/docs/tutorials.rst @@ -656,7 +656,7 @@ Both are hosted by the same application server. class StringGenerator(object): @cherrypy.expose def index(self): - return file('index.html') + return open('index.html') class StringGeneratorWebService(object): exposed = True |