From 796b8b49f41657a44764c8557b5413bb3935e790 Mon Sep 17 00:00:00 2001 From: marios8543 Date: Tue, 17 Oct 2023 16:07:43 +0300 Subject: Drop support for legacy plugins --- backend/src/plugin.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'backend/src/plugin.py') diff --git a/backend/src/plugin.py b/backend/src/plugin.py index 163bb9b6..481ede3f 100644 --- a/backend/src/plugin.py +++ b/backend/src/plugin.py @@ -29,11 +29,6 @@ class PluginWrapper: package_json = load(open(path.join(plugin_path, plugin_directory, "package.json"), "r", encoding="utf-8")) self.version = package_json["version"] - self.legacy = False - self.main_view_html = json["main_view_html"] if "main_view_html" in json else "" - self.tile_view_html = json["tile_view_html"] if "tile_view_html" in json else "" - self.legacy = self.main_view_html or self.tile_view_html - self.name = json["name"] self.author = json["author"] self.flags = json["flags"] -- cgit v1.2.3