From 03b14af78347568b4622d5b197979ee163d3dc42 Mon Sep 17 00:00:00 2001 From: Chad Whitacre Date: Tue, 9 May 2017 17:33:50 -0500 Subject: [PATCH] Fix regression in envvar checks Closes #4446. --- gratipay/wireup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gratipay/wireup.py b/gratipay/wireup.py index ed2eff02fb..ae9a518f60 100644 --- a/gratipay/wireup.py +++ b/gratipay/wireup.py @@ -441,6 +441,6 @@ def env(): return env -def __main__(): +if __name__ == '__main__': # deploy.sh uses this to validate production env config env()