crawler: default value for MYSQL_HOST (localhost)

master
pictuga 2020-09-30 13:17:02 +02:00
parent bbada0436a
commit d9f46b23a6
1 changed files with 1 additions and 1 deletions

View File

@ -685,7 +685,7 @@ if 'CACHE' in os.environ:
user = os.getenv('MYSQL_USER'),
password = os.getenv('MYSQL_PWD'),
database = os.getenv('MYSQL_DB'),
host = os.getenv('MYSQL_HOST')
host = os.getenv('MYSQL_HOST', 'localhost')
)
elif os.environ['CACHE'] == 'sqlite':