From f6b1f92a887096746506fd713bf978192e2cf3cd Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 25 Aug 2024 03:24:02 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20`file.bookmarks`=20must=20be=20o?= =?UTF-8?q?ptional.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platypush/plugins/file/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/plugins/file/__init__.py b/platypush/plugins/file/__init__.py index 668bcf0644..d8ae1d2d85 100644 --- a/platypush/plugins/file/__init__.py +++ b/platypush/plugins/file/__init__.py @@ -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.