mirror of
https://github.com/Leseratte10/acsm-calibre-plugin.git
synced 2024-12-22 09:19:55 +06:00
Some cleanup
This commit is contained in:
parent
8b7e680362
commit
294f600ebd
10
README.md
10
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.
|
||||
|
||||
<details>
|
||||
<summary>ACSM Input Plugin for Calibre - Copyright (c) 2021-2022 Leseratte10</summary>
|
||||
|
||||
```
|
||||
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
|
||||
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user