]> gitweb @ CieloNegro.org - youtube-dl.git/blobdiff - youtube_dl/__init__.py
better naming for the sub-modules
[youtube-dl.git] / youtube_dl / __init__.py
index 6e6946fdaf3b2eb121043928c09c14a8f5cf2970..5e500d5e0243052eeb762f9cdf15de3c3782ddae 100644 (file)
@@ -38,10 +38,10 @@ import sys
 import urllib2
 import warnings
 
-from Utils import *
+from utils import *
 from FileDownloader import *
 from InfoExtractors import *
-from PostProcessing import *
+from PostProcessor import *
 
 def updateSelf(downloader, filename):
        ''' Update the program file with the latest version from the repository '''
@@ -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)