Skip to content

Commit

Permalink
#
Browse files Browse the repository at this point in the history
  • Loading branch information
sjcl committed Sep 22, 2017
1 parent 75e347d commit a5109f1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/net/teamfruit/gyazothumbs/GyazoThumbs.java
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public void run() {
count++;
}

if (page*100>=this.header.getTotalCount()||count>=ARGS.getMax())
if (count>=this.header.getTotalCount()||count>=ARGS.getMax())
break;

try {
Expand Down Expand Up @@ -132,7 +132,6 @@ public void run() {
this.executor.awaitTermination(Long.MAX_VALUE, TimeUnit.MILLISECONDS);
Log.LOG.info("Download Complete");
Log.LOG.info("Total Time: {}", DurationFormatUtils.formatDuration(System.currentTimeMillis()-start, "HH:mm:ss"));
System.exit(0);
} catch (final InterruptedException e) {
Log.LOG.error(e);
}
Expand Down

0 comments on commit a5109f1

Please sign in to comment.