On Mon, Mar 01, 2021 at 03:12:24PM +0800, Luan Shengde wrote:
- return content[type]
+end
def parse_mail_list(type) content = YAML.load_file('mail_list.yaml') || {}
add file exist test when load_file.
I had add that.
Thanks, Xueliang
Thanks, Luan Shengde
return content[type] || {} end
-- 2.23.0