Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Cuizi7 committed Nov 20, 2020
1 parent 3faa410 commit fa42b07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rqalpha/main.py
Expand Up @@ -88,8 +88,8 @@ def init_persist_helper(env, ucontext, executor, config):
('event_source', env.event_source),
('broker', env.broker)
] if isinstance(obj, Persistable)), ((
"mod_{}".format(name), module
) for name, module in env.mod_dict.items() if isinstance(module, Persistable))):
"mod_{}".format(name), mod
) for name, mod in env.mod_dict.items() if isinstance(mod, Persistable))):
persist_helper.register(key, obj)
env.set_persist_helper(persist_helper)
return persist_helper
Expand Down

0 comments on commit fa42b07

Please sign in to comment.