Skip to content

Commit

Permalink
Merge pull request #43 from xiyangxixian/dev
Browse files Browse the repository at this point in the history
fix empty dsn
  • Loading branch information
xiyangxixian authored Nov 25, 2018
2 parents 1e9efd7 + ec085bd commit c428292
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ def soar_result(args):
cmd_args=OrderedDict() # soar 要求 -config 作为第一参数

# 解析数据库连接
args['online-dsn'] = dsn2soaryaml(args['online-dsn'])
args['test-dsn'] = dsn2soaryaml(args['test-dsn'])
if 'online-dsn' in args : args['online-dsn'] = dsn2soaryaml(args['online-dsn'])
if 'test-dsn' in args : args['test-dsn'] = dsn2soaryaml(args['test-dsn'])

# 黑名单列表
if 'blacklist' in args:
Expand Down

0 comments on commit c428292

Please sign in to comment.