Commit fb743211bd57a5018cf9ae8c820a5491863d9338

Authored by liujiqiang
1 parent 2a0d7404

更新

commons/scripts/readConf.py
... ... @@ -19,7 +19,7 @@ class readConfig(object):
19 19 def __init__(self):
20 20 self.conf = configparser.ConfigParser()
21 21 self.evn_name = os.name
22   - self.file_name = r'test_config_hg'
  22 + self.file_name = r'test_config_hg.conf'
23 23 self.relative_path = r'/config/marketConfig/'
24 24 self.file_path = os.path.abspath(
25 25 os.path.join(os.path.dirname(__file__), "../../")) + self.relative_path + self.file_name
... ...
config/marketConfig/test_config_hg renamed to config/marketConfig/test_config_hg.conf
report/test.log
1   -[2021-07-20 13:56:07] [INFO] : 发送邮件
2   -[2021-07-20 13:56:11] [INFO] : 邮件发送完毕