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 '''
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)