Skip to content

Commit

Permalink
Update jupyter_server/services/contents/fileio.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Zsailer authored Dec 10, 2020
1 parent 1a5395d commit 5033aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jupyter_server/services/contents/fileio.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ class FileManagerMixin(Configurable):

@contextmanager
def open(self, os_path, *args, **kwargs):
"""wrapper around open that turns permission errors into 403"""
"""wrapper around io.open that turns permission errors into 403"""
with self.perm_to_403(os_path):
with io.open(os_path, *args, **kwargs) as f:
yield f
Expand Down

0 comments on commit 5033aa8

Please sign in to comment.