Commit 2627075f authored by Tatuya Kamada's avatar Tatuya Kamada

Simplify the code.

parent f1ed5da2
......@@ -37,9 +37,8 @@ class Recipe(GenericSlapRecipe):
web_checker_mail_address = self.parameter_dict['web-checker-mail-address']
web_checker_smtp_host = self.parameter_dict['web-checker-smtp-host']
web_checker_frontend_url = self.parameter_dict.get(
'web-checker-frontend-url')
if web_checker_frontend_url is None:
web_checker_frontend_url = self.options['frontend-url']
'web-checker-frontend-url',
self.options['frontend-url'])
web_checker_working_directory = \
self.options['web-checker-working-directory']
config = dict(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment