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:
parent
c6546ff935
commit
82ba173739
@ -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]) #" = ", etc
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user