Skip to content

Commit

Permalink
update config func
Browse files Browse the repository at this point in the history
  • Loading branch information
taochenshh committed Dec 22, 2020
1 parent 6c67ad9 commit 1624647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion easyrl/configs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class CFG:
cfg = CFG()


def set_config(alg, config_func=None):
def set_config(alg=None, config_func=None):
global cfg
if config_func is not None:
cfg.alg = config_func()
Expand Down

0 comments on commit 1624647

Please sign in to comment.