delay 1 second

pull/346/head
emijrp 4 years ago
parent 2e99d869e2
commit 33a93fd76a

@ -87,7 +87,7 @@ def main():
print 'Resuming download, using directory', wikidir
subprocess.call('./dumpgenerator.py --api=%s --xml --images --resume --path=%s' % (wiki, wikidir), shell=True)
else: #download from scratch
subprocess.call('./dumpgenerator.py --api=%s --xml --images' % wiki, shell=True)
subprocess.call('./dumpgenerator.py --api=%s --xml --images --delay=1' % wiki, shell=True)
started = True
#save wikidir now
for dirname, dirnames, filenames in os.walk('.'):

Loading…
Cancel
Save