smooth-dl.py: add anewline in an error message
authorAntonio Ospite <ao2@ao2.it>
Fri, 15 Jan 2016 19:36:47 +0000 (20:36 +0100)
committerAntonio Ospite <ao2@ao2.it>
Fri, 15 Jan 2016 19:36:47 +0000 (20:36 +0100)
smooth-dl.py

index 1488e2c..8ad0001 100755 (executable)
@@ -104,7 +104,7 @@ def download_file(src_url, dest_file, mode):
             response = urllib2.urlopen(src_url)
             data = response.read()
         except urllib2.HTTPError:
             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:
             raise
 
     if dest_file: