Skip to content

Commit 0dcc2a9

Browse files
committed
Fix small bug with eReader authorizations
1 parent 55bea99 commit 0dcc2a9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ See the "LICENSE" file for a full copy of the GNU GPL v3.
4343
Download the plugin and import it into Calibre, then open the plugin settings. The plugin should display "Not authorized for any ADE ID". You now have multiple options to authorize the plugin:
4444

4545
- You can click on "Link to ADE account" and enter your AdobeID credentials to link your Calibre installation to your AdobeID account. This uses up one of your available activations.
46-
- You can click on "Create anonymous authorization" to create an anonymous authorization. Make sure to create backups of that authorization. Also, if you do end up emulating ADE3+ and you receive a file with the new Adobe DRM, you might not be able to access it ...
46+
- You can click on "Create anonymous authorization" to create an anonymous authorization. Make sure to create backups of that authorization.
4747
- If you have ADE installed and activated on your machine, you can click "Import activation from ADE" to clone the existing activation from your ADE installation.
4848
- If you have used this plugin before, you can click on "Import existing activation backup" to import a previously created activation backup (ZIP) file to restore an activation. This functionality can also be used to clone one activation to multiple computers.
4949

@@ -94,6 +94,7 @@ Though, generally it's recommended to use the Calibre plugin instead of these st
9494
- Support for multiple independant authorizations (with an easy way to switch between them)
9595
- Import a JoinedAccount authorization from ADE (ADE2.0+)
9696
- Import multiple account authorizations from ADE (ADE2.0+)
97+
- Support to add an AdobeID to an eReader without replacing the existing one
9798
- Support for Adobe's "auth" download method instead of the "simple" method (ADE2.0+)
9899
- Support the JoinAccounts, ActivateLinkedAccounts and GetCredentialList functions to allow for merged AdobeIDs (ADE2.0+)
99100
- Support the SyncToDevice function to auto-download new books from ADE into Calibre (ADE4.0+)

calibre-plugin/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ def manage_ext_device(self):
329329

330330
print("Found Reader with Class " + devClass + " and Name " + devName)
331331

332-
if os.path.isfile(act_xml_path):
332+
if os.path.isfile(act_xml_path) and os.path.getsize(act_xml_path) > 0:
333333

334334
active_device_act = etree.parse(act_xml_path)
335335
adNS = lambda tag: '{%s}%s' % ('http://ns.adobe.com/adept', tag)

0 commit comments

Comments
 (0)