Skip to content

Commit

Permalink
Added decorator
Browse files Browse the repository at this point in the history
Added decorator `@gen.coroutine` to `FileHandler.get()`
  • Loading branch information
TomTJarosz authored and kevin-bates committed Sep 27, 2019
1 parent 86fccbf commit 695c8bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jupyter_server/files/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def head(self, path):
self.get(path, include_body=False)

@web.authenticated
@gen.coroutine
def get(self, path, include_body=True):
cm = self.contents_manager

Expand Down

0 comments on commit 695c8bd

Please sign in to comment.