projects
/
smooth-dl.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f77735b
)
smooth-dl.py: add anewline in an error message
author
Antonio Ospite <ao2@ao2.it>
Fri, 15 Jan 2016 19:36:47 +0000
(20:36 +0100)
committer
Antonio Ospite <ao2@ao2.it>
Fri, 15 Jan 2016 19:36:47 +0000
(20:36 +0100)
smooth-dl.py
patch
|
blob
|
history
diff --git
a/smooth-dl.py
b/smooth-dl.py
index
1488e2c
..
8ad0001
100755
(executable)
--- 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:
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: