dont err out if no sld given
This commit is contained in:
parent
3976b2057b
commit
1112dc93bf
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user