aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/__init__.py
diff options
context:
space:
mode:
authorFilippo Valsorda <filippo.valsorda@gmail.com>2012-03-31 01:27:47 +0200
committerFilippo Valsorda <filippo.valsorda@gmail.com>2012-03-31 01:27:47 +0200
commitbcfde70d7382463cf1cab61165641c1f16b8c6d8 (patch)
tree6bca929b4a4abed1cd6b1a310b165d613d18b0e2 /youtube_dl/__init__.py
parent53e893615d6e2fd01836c3cba444dffaa0db57c5 (diff)
py2exe -U fix for Windows XP
Diffstat (limited to 'youtube_dl/__init__.py')
-rw-r--r--youtube_dl/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py
index 6e6946fda..b4141b69e 100644
--- a/youtube_dl/__init__.py
+++ b/youtube_dl/__init__.py
@@ -75,7 +75,7 @@ def updateSelf(downloader, filename):
b = open(bat, 'w')
print >> b, """
-timeout /t 5 /nobreak
+ping 127.0.0.1 -n 5 -w 1000 > NUL
move /Y "%s.new" "%s"
del "%s"
""" %(exe, exe, bat)