This repository has been archived by the owner on Sep 22, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix imports of optional dependencies
- Loading branch information
Showing
6 changed files
with
41 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,5 @@ | ||
# -*- coding: utf-8 -*- | ||
from thumbnails.engines.base import BaseThumbnailEngine # noqa | ||
from thumbnails.engines.dummy import DummyEngine # noqa | ||
|
||
|
||
try: | ||
from thumbnails.engines.pillow_engine import PillowEngine # noqa | ||
except ImportError: | ||
PillowEngine = None | ||
|
||
|
||
try: | ||
from thumbnails.engines.wand_engine import WandEngine # noqa | ||
except ImportError: | ||
WandEngine = None | ||
|
||
|
||
try: | ||
from thumbnails.engines.pgmagick_engine import PgmagickEngine # noqa | ||
except ImportError: | ||
PgmagickEngine = None | ||
from thumbnails.engines.pillow_engine import PillowEngine # noqa | ||
from thumbnails.engines.wand_engine import WandEngine # noqa | ||
from thumbnails.engines.pgmagick_engine import PgmagickEngine # noqa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters