Skip to content

Commit

Permalink
Merge branch 'release/0.1.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
lb803 committed Feb 3, 2021
2 parents 70c7147 + 6f22ab7 commit 50ec5fd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Access Aide
_Access Aide_ is a Calibre (book editor) plugin to enhance epubs with accessibility features.

The _Access Aide_ plugin for Calibre is undergoing testing.

# Features
- Add language declaration to `<html>` tags;
- Map epub:type attributes to their appropriate aria role attribute.
Expand All @@ -24,4 +22,4 @@ Source code by Luca Baffa, released under the GPL 3 licence.

This project is _heavily influenced_ and inherits part of the code from the [Access-Aide](https://github.com/kevinhendricks/Access-Aide) LGPL v2.1 plugin developed for Sigil.

The plugin icon (`./icon/icon.png`) comes from the `adwaita-icon-theme` pack ([gitlab page](https://gitlab.gnome.org/GNOME/adwaita-icon-theme) of the project), released as LGPL v3 by the GNOME Project.
The plugin icon (`./icon/icon.png`) comes from the `adwaita-icon-theme` pack ([gitlab page](https://gitlab.gnome.org/GNOME/adwaita-icon-theme) of the project), released as LGPL v3 by the GNOME Project.
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

class AccessAidePlugin(EditBookToolPlugin):
name = 'Access Aide'
version = (0, 1, 3)
version = (0, 1, 4)
author = 'Luca Baffa'
supported_platforms = ['windows', 'osx', 'linux']
description = 'Access Aide plugin for Calibre'
Expand Down
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from calibre_plugins.access_aide.config import prefs

# My modules
from lib.stats import Stats
from .lib.stats import Stats


class AccessAide(Tool):
Expand Down Expand Up @@ -61,7 +61,7 @@ def main(self):
blacklist = ['toc.xhtml']

# iterate over book files
for name, media_type in container.mime_map.items():
for name, media_type in list(container.mime_map.items()):

if media_type in OEB_DOCS \
and name not in blacklist:
Expand Down

0 comments on commit 50ec5fd

Please sign in to comment.