Make progress towards having download support work

This commit is contained in:
drdev
2014-05-30 04:59:32 +00:00
parent df8d38475a
commit fcbe79ee3f
7 changed files with 74 additions and 67 deletions

View File

@@ -249,7 +249,7 @@ public abstract class GuiDownloadService implements Runnable {
conn.setInstanceFollowRedirects(false);
conn.connect();
if (conn.getResponseCode() != 200) {
if (conn.getResponseCode() != HttpURLConnection.HTTP_OK) {
conn.disconnect();
System.out.println("Skipped Download for: " + fileDest.getPath());
update(++iCard, fileDest);