diff options
author | Gonzalo Odiard <godiard@sugarlabs.org> | 2011-02-21 17:46:36 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@sugarlabs.org> | 2011-02-21 17:46:36 (GMT) |
commit | 66b9606d49af508a2414121d8aaa8956de1d037e (patch) | |
tree | ec60b8a516a4ed1c8090fd0b17613888248ba16c /readactivity.py | |
parent | aa5534a95735df60c9cf619b6d463d2ec21abd95 (diff) |
Add support to ziped Gutemberg files
Diffstat (limited to 'readactivity.py')
-rw-r--r-- | readactivity.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/readactivity.py b/readactivity.py index 2a43084..1fb2ffc 100644 --- a/readactivity.py +++ b/readactivity.py @@ -790,7 +790,7 @@ class ReadActivity(activity.Activity): mimetype = mime.get_for_file(filepath) if mimetype == 'application/epub+zip': self._view = epubadapter.EpubViewer() - elif mimetype == 'text/plain': + elif mimetype == 'text/plain' or mimetype == 'application/zip' : self._view = textadapter.TextViewer() else: self._view = evinceadapter.EvinceViewer() |