Commits

Jason McKesson committed e51c9b8

Fix for bug 49.

  • Participants
  • Parent commits b1764b3
  • Branches 2.0
  • Tags 2.0.2

Comments (0)

Files changed (1)

File 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