diff --git a/build/common/commands/new.py b/build/common/commands/new.py index c9a39cf2..5babe6c3 100644 --- a/build/common/commands/new.py +++ b/build/common/commands/new.py @@ -96,7 +96,7 @@ def main(): grant_privileges = "ALL PRIVILEGES" # for Amazon RDS - if config.get(RDS_DB) or site_config.get(RDS_DB) + if config.get(RDS_DB) or site_config.get(RDS_DB): grant_privileges = RDS_PRIVILEGES command = mysql_command + [f"GRANT {grant_privileges} ON `{db_name}`.* TO '{db_name}'@'%'; FLUSH PRIVILEGES;"]