Skip to content

Commit

Permalink
Merge 707258e into 631f5fe
Browse files Browse the repository at this point in the history
  • Loading branch information
ciupicri committed Mar 27, 2018
2 parents 631f5fe + 707258e commit fc65c1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions IPython/lib/display.py
Expand Up @@ -3,7 +3,7 @@
Authors : MinRK, gregcaporaso, dannystaple
"""
from os.path import exists, isfile, splitext, abspath, join, isdir
from os import walk, sep
from os import walk, sep, fsdecode

from IPython.core.display import DisplayObject

Expand Down Expand Up @@ -334,7 +334,7 @@ def __init__(self,
if isdir(path):
raise ValueError("Cannot display a directory using FileLink. "
"Use FileLinks to display '%s'." % path)
self.path = path
self.path = fsdecode(path)
self.url_prefix = url_prefix
self.result_html_prefix = result_html_prefix
self.result_html_suffix = result_html_suffix
Expand Down

0 comments on commit fc65c1f

Please sign in to comment.