summaryrefslogtreecommitdiff
path: root/MAT/strippers.py
diff options
context:
space:
mode:
authorjvoisin2013-01-20 03:57:17 +0100
committerjvoisin2013-01-20 03:57:17 +0100
commitac4110fbfc60b112836d0b279ae07ea9a779b16d (patch)
tree2649b954ddb7fcfa15c5a7167907a27398008732 /MAT/strippers.py
parent8427e8f4aff71a40ea6ba920608c38edd7ee6905 (diff)
preliminary support of gtk3 (one test fails for PDF)
Diffstat (limited to 'MAT/strippers.py')
-rw-r--r--MAT/strippers.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/MAT/strippers.py b/MAT/strippers.py
index 4b673fe..ad79d54 100644
--- a/MAT/strippers.py
+++ b/MAT/strippers.py
@@ -4,6 +4,7 @@
4 4
5import images 5import images
6import audio 6import audio
7import gi
7import office 8import office
8import archive 9import archive
9import misc 10import misc
@@ -24,9 +25,9 @@ STRIPPERS = {
24# PDF support 25# PDF support
25pdfSupport = True 26pdfSupport = True
26try: 27try:
27 import poppler 28 from gi.repository import Poppler
28except ImportError: 29except ImportError:
29 print('Unable to import python-poppler: not PDF support') 30 print('Unable to import Poppler')
30 pdfSupport = False 31 pdfSupport = False
31 32
32try: 33try: