forked from platypush/platypush
🐛 file.bookmarks
must be optional.
This commit is contained in:
parent
9f8fe60cdf
commit
f6b1f92a88
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class FilePlugin(Plugin):
|
|||
A plugin for general-purpose file methods
|
||||
"""
|
||||
|
||||
def __init__(self, *args, bookmarks: Bookmarks, **kwargs):
|
||||
def __init__(self, *args, bookmarks: Optional[Bookmarks] = None, **kwargs):
|
||||
"""
|
||||
:param bookmarks: A list/dictionary of bookmarks. Bookmarks will be
|
||||
shown in the file browser UI home page for easier access.
|
||||
|
|
Loading…
Reference in a new issue