From 99af75c341cf4a6ee6513675c9a4b63d1663b604 Mon Sep 17 00:00:00 2001 From: Suraj Deshmukh Date: Thu, 13 Aug 2015 00:12:18 +0530 Subject: [PATCH] Issue#95 added graceful string concatenation --- newspaper/images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newspaper/images.py b/newspaper/images.py index 54e5b1e1..79fbccbd 100644 --- a/newspaper/images.py +++ b/newspaper/images.py @@ -195,7 +195,7 @@ def largest_image_url(self): if area > max_area: max_area = area max_url = img_url - log.debug('using max img ' + max_url) + log.debug('using max img {}'.format(max_url)) return max_url def calculate_area(self, img_url, dimension):