openzim / python-scraperlib

Collection of Python code to re-use across Python-based scrapers
GNU General Public License v3.0
18 stars 16 forks source link

Prevent import errors while importing PIL.Image #60

Closed satyamtg closed 3 years ago

satyamtg commented 3 years ago

Import the Image module correctly from PIL instead of searching an attribute in an empty stub

codecov[bot] commented 3 years ago

Codecov Report

Merging #60 into master will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #60   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           24        24           
  Lines          930       930           
=========================================
  Hits           930       930           
Impacted Files Coverage Δ
src/zimscraperlib/image/__init__.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a6e0215...d2ff7ed. Read the comment docs.