From 294f600ebdb0d6f002c94cbef3a6a651d3dae3b4 Mon Sep 17 00:00:00 2001 From: Florian Bach Date: Sun, 9 Oct 2022 17:13:19 +0200 Subject: [PATCH] Some cleanup --- README.md | 10 ++++++---- migration_plugin/__init__.py | 6 +----- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 5a2fc37..cec70db 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,18 @@ # Calibre ACSM Input plugin This is a Calibre plugin that allows you to turn ACSM files into EPUB or PDF files without the need for Adobe Digital Editions. -It is a full Python reimplementation of libgourou by Grégory Soutadé (http://indefero.soutade.fr/p/libgourou/). +It is a full Python reimplementation of libgourou by Grégory Soutadé (http://indefero.soutade.fr/p/libgourou/), and has since been +extended by more and more features.
ACSM Input Plugin for Calibre - Copyright (c) 2021-2022 Leseratte10 ``` -ACSM Input Plugin for Calibre (DeACSM) / acsm-calibre-plugin +ACSM Input Plugin for Calibre / acsm-calibre-plugin +Formerly known as "DeACSM" Copyright (c) 2021-2022 Leseratte10 -This software is a Python reimplementation of the C++ library +This software is based on a Python reimplementation of the C++ library "libgourou" by Grégory Soutadé which is under the LGPLv3 or later license (http://indefero.soutade.fr/p/libgourou/). @@ -40,7 +42,7 @@ See the "LICENSE" file for a full copy of the GNU GPL v3. ## Known bugs -- Versions 0.0.16 and below did sometimes return the wrong eBook (or none at all) when trying to return a book to the library through the "Loaned books" list, if you had multiple active loans from the same distributor / library. This will be fixed with 0.0.17. +- Versions 0.0.16 and below did sometimes return the wrong eBook (or none at all) when trying to return a book to the library through the "Loaned books" list, if you had multiple active loans from the same distributor / library. This will be fixed with the next release. ## Setup diff --git a/migration_plugin/__init__.py b/migration_plugin/__init__.py index 522007c..48c6f3f 100644 --- a/migration_plugin/__init__.py +++ b/migration_plugin/__init__.py @@ -10,11 +10,6 @@ from calibre.customize import InterfaceActionBase # type: ignore -try: - from calibre.customize import PluginInstallationType -except: - pass - class DeACSMMigrationPlugin(InterfaceActionBase): name = "DeACSM" @@ -32,6 +27,7 @@ class DeACSMMigrationPlugin(InterfaceActionBase): # Just so that the GUI extension shows up at the same place as the actual ACSM Input plugin. try: + from calibre.customize import PluginInstallationType installation_type = PluginInstallationType.EXTERNAL # Mark this as user-installed so it shows up in the plugin list by default. except: