mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-03 20:13:56 -07:00
Repeatly download text spoiler until a valid XML document is received
This commit is contained in:
parent
611d61e48b
commit
01277e9ad9
1 changed files with 2 additions and 1 deletions
|
|
@ -296,6 +296,7 @@ void OracleImporter::httpRequestFinished(int requestId, bool error)
|
||||||
buffer->seek(0);
|
buffer->seek(0);
|
||||||
buffer->close();
|
buffer->close();
|
||||||
int cards = importTextSpoiler(set, buffer->data());
|
int cards = importTextSpoiler(set, buffer->data());
|
||||||
|
if (cards > 0)
|
||||||
++setIndex;
|
++setIndex;
|
||||||
|
|
||||||
if (setIndex == setsToDownload.size()) {
|
if (setIndex == setsToDownload.size()) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue