Skip to content

Commit

Permalink
paquo.projects: fix warning is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
ap-- committed Aug 5, 2020
1 parent e245832 commit 426606b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paquo/projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def add_image(self,
target_downsample = math.sqrt(width / 1024.0 * height / 1024.0)
_log.info(f"Image[{width}x{height}] with downsamples {downsamples}")
if not any(d >= target_downsample for d in downsamples):
_log.warn(f"No matching downsample for thumbnail! This might take a long time...")
_log.warning(f"No matching downsample for thumbnail! This might take a long time...")

# set the project thumbnail
try:
Expand Down

0 comments on commit 426606b

Please sign in to comment.