From a491765d59742513280aa63a8dabac6a6e742b89 Mon Sep 17 00:00:00 2001 From: jmaa Date: Thu, 14 Jun 2018 16:38:05 +0200 Subject: [PATCH] Removed debug prints --- memes.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/memes.lua b/memes.lua index c2c8938..767909a 100644 --- a/memes.lua +++ b/memes.lua @@ -543,7 +543,6 @@ local curb = require 'curb_your_enthusiasm' -------------------------------------------------------------------------------- local function is_image_link (str) - print(str) if str:match '%.png$' or str:match '%.gif$' or str:match '%.jpg$' then return true end @@ -551,7 +550,6 @@ local function is_image_link (str) if type(str) ~= 'string' then return false end if not str:match '^%a+://.+$' then return false end local headers = internet.download_headers(str) - print(headers) return type(headers) == 'table' and headers['content-type']:match '^image/%a+$' end