2
0
mirror of https://github.com/WikiTeam/wikiteam synced 2024-11-12 07:12:41 +00:00

Issue 22: allimages now uses aicontinue, not aifrom

git-svn-id: https://wikiteam.googlecode.com/svn/trunk@862 31edc4fc-5e31-b4c4-d58b-c8bc928bcb95
This commit is contained in:
nemobis 2013-11-08 21:57:04 +00:00
parent c6546ff935
commit 82ba173739

View File

@ -593,7 +593,8 @@ def getImageFilenamesURLAPI(config={}):
sys.exit()
xml = f.read()
f.close()
m = re.findall(r'<allimages aifrom="([^>]+)" />', xml)
# Match the query-continue, old and new format
m = re.findall(r'<allimages (aicontinue|aifrom)="([^>]+)" />', xml)
if m:
aifrom = undoHTMLEntities(text=m[0]) #&quot; = ", etc
else: