From fd98b1e5d57facc680f4636a6a6b062eec8dc524 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Fri, 15 Jan 2016 20:36:47 +0100 Subject: [PATCH] smooth-dl.py: add anewline in an error message --- smooth-dl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smooth-dl.py b/smooth-dl.py index 1488e2c..8ad0001 100755 --- a/smooth-dl.py +++ b/smooth-dl.py @@ -104,7 +104,7 @@ def download_file(src_url, dest_file, mode): response = urllib2.urlopen(src_url) data = response.read() except urllib2.HTTPError: - sys.stderr.write("Error while dowloading URL: %s" % src_url) + sys.stderr.write("Error while dowloading URL: %s\n" % src_url) raise if dest_file: -- 2.1.4