parse.lua

changeset 4
0dc2ccd703e3
parent 3
5b24d66365ec
child 6
39716bd98da1
--- a/parse.lua	Sun Apr 01 01:56:09 2012 +0100
+++ b/parse.lua	Tue Mar 03 12:03:03 2015 +0000
@@ -1,5 +1,8 @@
 local http = require "socket.http"
 local have_https, https = pcall(require,"https");
+if not have_https then
+	have_https, https = pcall(require,"ssl.https");
+end
 local csv = require "csv"
 
 for line in io.lines(arg[1] or "gsoc12.csv") do

mercurial