From c5e480fc02d976b767f407f301bae5a9adbab93c Mon Sep 17 00:00:00 2001 From: pengtao Date: Tue, 16 Jul 2019 15:20:04 +0800 Subject: [PATCH] fix some error --- config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config.py b/config.py index 3949f0c..0703910 100644 --- a/config.py +++ b/config.py @@ -2,9 +2,9 @@ import os expire_time = 7200 -paswd = os.getenv('adpwd') -redis_company_config = {'host': '10.10.4.8', 'port': 6379, 'db': 1, 'passwd': paswd} -mysql_promotion_config = {'user': 'ad', 'pswd': 'config.py', 'host': '10.10.3.5', 'db': 'ad'} +ad_mysql_pwd = os.getenv('adpwd') +redis_company_config = {'host': '10.10.4.8', 'port': 6379, 'db': 1, 'passwd': 'crs-9ltb97ds:i33dkxshh'} +mysql_promotion_config = {'user': 'ad', 'pswd': ad_mysql_pwd, 'host': '10.10.3.5', 'db': 'ad'} ad_list_interface_port = 5014 BEGIN = '1999-01-01' END = '3000-01-01'