summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhelpcontent2/to-wiki/wikiconv2.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/helpcontent2/to-wiki/wikiconv2.py b/helpcontent2/to-wiki/wikiconv2.py
index 8dbb5bb132..33bd7c6c8c 100755
--- a/helpcontent2/to-wiki/wikiconv2.py
+++ b/helpcontent2/to-wiki/wikiconv2.py
@@ -1089,7 +1089,9 @@ for title in titles:
print "Warning: Skipping: "+infile+" > "+outfile
file.close()
-time.sleep(0.1)
+# wait for everyone to finish
+while threading.active_count() > 1:
+ time.sleep(0.001)
# set of the images used here
print 'Writing the collection of images to "images.txt"...'