Skip to content

Commit

Permalink
fix #169
Browse files Browse the repository at this point in the history
  • Loading branch information
Cuizi7 committed Jun 28, 2017
1 parent 8a39761 commit 5edff36
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rqalpha/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,8 @@ def install(params):
for mod_name in mod_list:
if "rqalpha_mod_" in mod_name:
mod_name = mod_name.replace("rqalpha_mod_", "")
if "==" in mod_name:
mod_name = mod_name.split('==')[0]
mod_config['mod'][mod_name] = {}
mod_config['mod'][mod_name]['enabled'] = False

Expand Down

0 comments on commit 5edff36

Please sign in to comment.