]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
py2exe -U fix for Windows XP
authorFilippo Valsorda <filippo.valsorda@gmail.com>
Fri, 30 Mar 2012 23:27:47 +0000 (01:27 +0200)
committerFilippo Valsorda <filippo.valsorda@gmail.com>
Fri, 30 Mar 2012 23:27:47 +0000 (01:27 +0200)
youtube_dl/__init__.py

index 6e6946fdaf3b2eb121043928c09c14a8f5cf2970..b4141b69ebc430de142a6271814293f83c2afa27 100644 (file)
@@ -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)