🐛 file.bookmarks must be optional.

This commit is contained in:
Fabio Manganiello 2024-08-25 03:24:02 +02:00
parent 9f8fe60cdf
commit f6b1f92a88
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -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.