Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed May 12, 2022
1 parent b36bf53 commit 5eb4a48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panel/widgets/file_selector.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class FileSelector(CompositeWidget):

_composite_type = Column

def __init__(self, directory: Union[AnyStr, os.PathLike[AnyStr]]=None, **params):
def __init__(self, directory: Union[AnyStr, os.PathLike]=None, **params):
from ..pane import Markdown
if directory is not None:
params['directory'] = fullpath(directory)
Expand Down

0 comments on commit 5eb4a48

Please sign in to comment.