This commit is contained in:
reality 2013-08-21 15:26:16 +00:00
parent fc4537bcea
commit 284a316cd5

View File

@ -79,6 +79,7 @@ var imgur = function(dbot) {
'.' + ext[_.random(0, ext.length - 1)]; '.' + ext[_.random(0, ext.length - 1)];
dbot.db.imgur.totalHttpRequests += 1; dbot.db.imgur.totalHttpRequests += 1;
var image = request(testUrl, function(error, response, body) { var image = request(testUrl, function(error, response, body) {
console.log(response.head);
// 492 is body.length of a removed image // 492 is body.length of a removed image
gm(body).size(function(err, val) { gm(body).size(function(err, val) {
console.log(err); console.log(err);