diff options
| author | jvoisin | 2013-04-05 11:00:47 +0200 |
|---|---|---|
| committer | jvoisin | 2013-04-05 11:00:47 +0200 |
| commit | 8516bb77f86ebdcedb1e64f56f9acd673027ddcb (patch) | |
| tree | a93079693531263dfc5802ea42313c53dcaa0493 /MAT/strippers.py | |
| parent | 861996f614950c7061097a049efd56f5a0a4b6a5 (diff) | |
| parent | 3d8e11ce644833106f22778f3171c52a51ff69fe (diff) | |
Merge branches 'gi_jack' and 'gtk3'
Conflicts:
mat-gui
Diffstat (limited to 'MAT/strippers.py')
| -rw-r--r-- | MAT/strippers.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/MAT/strippers.py b/MAT/strippers.py index bde58ca..d274e7e 100644 --- a/MAT/strippers.py +++ b/MAT/strippers.py | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | 4 | ||
| 5 | import images | 5 | import images |
| 6 | import audio | 6 | import audio |
| 7 | import gi | ||
| 7 | import office | 8 | import office |
| 8 | import archive | 9 | import archive |
| 9 | import misc | 10 | import misc |
| @@ -24,9 +25,9 @@ STRIPPERS = { | |||
| 24 | # PDF support | 25 | # PDF support |
| 25 | pdfSupport = True | 26 | pdfSupport = True |
| 26 | try: | 27 | try: |
| 27 | import poppler | 28 | from gi.repository import Poppler |
| 28 | except ImportError: | 29 | except 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 | ||
| 32 | try: | 33 | try: |
