From 526a5d3fb1c5cd1bc18e3fb4b03da0aab0e9d1b0 Mon Sep 17 00:00:00 2001 From: shortcutme Date: Mon, 15 Apr 2019 22:48:43 +0200 Subject: [PATCH] Fix compatibility with Python <=3.5 --- plugins/Sidebar/SidebarPlugin.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/plugins/Sidebar/SidebarPlugin.py b/plugins/Sidebar/SidebarPlugin.py index 99aad5a7..ab3d00a5 100644 --- a/plugins/Sidebar/SidebarPlugin.py +++ b/plugins/Sidebar/SidebarPlugin.py @@ -634,10 +634,7 @@ class UiWebsocketPlugin(object): data_dir_db_path = os.path.join(config.data_dir, db_name) - db_paths = [ - *sys_db_paths, - data_dir_db_path, - ] + db_paths = sys_db_paths + [data_dir_db_path] for path in db_paths: if os.path.isfile(path) and os.path.getsize(path) > 0: