Commits

Jason McKesson committed e51c9b8

Fix for bug 49.

Comments (0)

Files changed (1)

modules/Styles.lua

 else
 	if(not status) then
 		--Error out, but only if the file is there found.
-		local lfs = require "lfs"
+		local lfs = pcall(require, "lfs")
 		if(lfs and lfs.attributes("modules/UserStyles.lua", "mode") == "file") then
 			error(userStyles);
 		end