dont err out if no sld given

This commit is contained in:
Ben Balter 2014-04-01 12:58:47 -04:00
parent 3976b2057b
commit 1112dc93bf

View File

@ -199,6 +199,8 @@ module Swot
def get_path(domain)
File.join(File.dirname(__FILE__), "domains", domain.tld, domain.sld)
rescue
return nil
end
private