launcher.py

git-svn-id: https://wikiteam.googlecode.com/svn/trunk@514 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
pull/117/head
emijrp 12 years ago
parent 2893df1b40
commit f0e63e6187

@ -58,7 +58,12 @@ for wiki in wikis:
os.system('python dumpgenerator.py --api=%s --xml --images --resume --path=%s' % (wiki, wikidir))
else: #download from scratch
os.system('python dumpgenerator.py --api=%s --xml --images' % wiki)
#save wikidir now
for dirname, dirnames, filenames in os.walk('.'):
if dirname == '.':
for d in dirnames:
if d.startswith(prefix):
wikidir = d
#compress
if wikidir and prefix:

Loading…
Cancel
Save